/* Body */
@import url('https://fonts.googleapis.com/css2?family=Rethink+Sans:wght@400;500;600;700&amp;display=swap');

:root {
    --primary: #087C6F;
}

body {
    font-family: 'Rethink Sans', sans-serif;
}

a {
    text-decoration: none;
    color: #1b1b1b;
}

a:hover {
    color: #087C6F;
}

/* Custom Bootstrap */
.form-control,
.form-select {
    padding: 11px 20px;
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #087C6F !important;
}

.btn {
    border-radius: 2rem !important;
}

.btn-lg {
    font-size: 17px;
    padding: 10px 24px;
    font-weight: 500;
}

/* .btn-primary {
    background-color: #087C6F !important;
    border-color: #087C6F !important;
}

.btn-primary:hover {
    background-color: #000 !important;
    border-color: #000 !important;
} */

.text-primary {
    color: #087C6F !important;
}

.light-text-primary {
    color: #087C6F;
}

.light-bg-primary {
    background-color: #087C6F;
}

.bg-primary {
    background-color: #087C6F !important;
}

.bg-theme {
    background: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 5;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}



.border-primary {
    border-color: #087C6F !important;
}

.text-success {
    color: #087C6F !important;
}

.profile-img {
    width: 35px;
}

.btn-success {
    background-color: #087C6F !important;
    border-color: #087C6F !important;
    color: #fff;
}

.bg-success {
    background-color: #087C6F !important;
}

.btn-success:hover {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff;
}


.nav-pills {
    gap: 20px;
}

.nav-pills .nav-item .nav-link {
    color: #000 !important;
    border: 1px solid #ababab !important;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: #087C6F !important;
    color: white !important;
    border-color: var(--primary) !important;
}

.nav-pills .nav-link:hover {
    background-color: #087C6F !important;
    color: white !important;
    border-color: var(--primary) !important;
}

.icon {
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.w-8 {
    width: 8%;
}

.mt-n6 {
    margin-top: -6rem;
}

.mb-n6 {
    margin-bottom: -6rem;
}

.mt-n7 {
    margin-top: -7rem;
}

/* Navbar */
.software-nav .navbar-nav .nav-link {
    padding: 10px 0;
    color: #000 !important;
}

.osahan-main-nav.fixed-top {
    background-color: #087C6F !important;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.04);
}

.software-nav a.nav-link {
    padding-top: 29px !important;
    padding-bottom: 29px !important;
    color: #ffffff !important;
}

/* Sidebar Nav */
.sidebar-nav .nav-link.active {
    color: #087C6F;
}

.sidebar ul::-webkit-scrollbar {
    width: 8px;
}

.sidebar ul::-webkit-scrollbar-thumb {
    background-color: #07162d;
    border-radius: 10px;
}

.sidebar ul::-webkit-scrollbar-track {
    background-color: white;
    padding: 2px;
    border-radius: 10px;
}

/* Homepage */
.bg-homepage {
    background-image: linear-gradient(180deg, transparent 0%, #000000 95%), url(../img/bg-homegae.html) !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Feature */
.bg-services {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/bg-services.html);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.box:hover {
    background-color: #087C6F;
    border-color: #087C6F !important;
    color: #fff !important;
    transition: .5s;
}

.box:hover i,
.box:hover p,
.box:hover h5 {
    color: #fff !important;
}

.person-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
}

/* CTA Section */

.section-cta {
    padding: 80px 0;
    border-radius: 20px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}


.cta-content {
    position: relative;
    z-index: 1;
}

.cta-headline {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-body {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-highlight {
    color: var(--primary);
    font-weight: 600;
}

.btn-primary-custom {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;

}

.btn-primary-custom:hover {
    background-color: var(--primary);
    border-color: #06695e;
    color: var(--light);
}

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 50px;
}

.btn-outline-custom:hover {
    background-color: var(--primary);
    color: var(--light);
}

.btn-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-outline-custom:hover .btn-icon {
    transform: translateX(4px);
}


@media (max-width: 768px) {
    .cta-headline {
        font-size: 2rem;
    }

    .cta-body {
        font-size: 1.1rem;
    }

    .btn-container {
        flex-direction: column;
        gap: 15px;
    }

    .btn-container .btn {
        width: 100%;
    }
}

/* CTA Section end */

/* About */
.bg-about {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/bg-about.html);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.name-card {
    background: #fff !important;
}

/* Contact */
.bg-contact {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/bg-contact.html);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Footer */
.bg-footer {
    background-color: #2f2a23;
}

.social-links a {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background-color: #087C6F !important;
}

.pricing-card {
    padding-inline: 30px !important;
}


.site-brand img {
    max-width: 140px;
}

footer {
    display: flex;
}

/* new professional css  */

:root {
    --primary: #087C6F;
    --secondary: #06534a;
    --accent: #4895ef;
    --dark: #212529;
    --light: #f8f9fa;
    --gray: #6c757d;
    --success: #4cc9f0;
    --sidebar-width: 290px;
    --header-height: 70px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --linear: linear-gradient(360deg, var(--primary) 0%, var(--secondary) 100%);
}

body {
    /* background-color: #f5f7fb; */
    color: var(--dark);
    line-height: 1.6;
}

/* Dashboard layout */
.dashbaord-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: #f5f7fb;
}

/* Sidebar styles */
.sidebar {
    width: var(--sidebar-width);
    background: #07162d;
    color: white;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    overflow-y: auto;
}

.logo {
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo img {
    max-width: 80%;
    height: auto;
}

.sidebar ul {
    list-style: none;
    padding: 20px 0;
    flex-grow: 1;
}

.sidebar li {
    margin: 8px 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.sidebar a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.sidebar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar .logo a:hover {
    background-color: transparent;
}

.sidebar a i {
    margin-right: 12px;
    font-size: 18px;
}

.sidebar a.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Main content area */
.wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 20px 30px;
    width: calc(100% - 290px);
}

/* Header styles */
.header {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 15px 25px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
}

.profile {
    display: flex;
    align-items: center;
    list-style: none;
}

.profile .dropdown-toggle::after {
    display: none;
}

.single-dropdown-nav .dropdown-menu {
    right: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background-color: #000;
    z-index: 99;
}

.single-dropdown-nav .dropdown-menu .dropdown-item {
    color: #fff;
}

.single-dropdown-nav .dropdown-menu .dropdown-item:hover {
    color: #000;
}

.profile-info {
    text-align: right;
    margin-right: 15px;
}

.profile-name {
    font-weight: 600;
    color: var(--dark);
}

.profile-role {
    font-size: 13px;
    color: var(--gray);
}

.profile-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    /* background: linear-gradient(360deg, var(--primary) 0%, var(--secondary) 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.profile-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.3);
}

/* Content cards */
.content-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

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

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--linear);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-right: 8px;
}

.card-title {
    font-weight: 600;
    font-size: 18px;
    color: var(--dark);
}

.card-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.card-text {
    color: var(--gray);
    font-size: 10px;
}

/* Chart container */
.chart-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

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

.chart-title {
    font-weight: 600;
    font-size: 20px;
    color: var(--dark);
}

.chart-actions button {
    background: var(--light);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 10px;
}

.chart-actions button:hover {
    background: var(--primary);
    color: white;
}

.chart-placeholder {
    background: linear-gradient(45deg, #f5f7fb, #e9ecef);
    height: 250px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

/* Responsive design */
@media (max-width: 992px) {
    .sidebar {
        width: 70px;
        overflow: hidden;
    }

    .sidebar .logo {
        padding: 25px 10px;
    }

    .sidebar a span {
        display: none;
    }

    .sidebar a i {
        margin-right: 0;
        font-size: 22px;
    }

    .wrapper {
        margin-left: 70px;
    }
}

@media (max-width: 768px) {
    .content-cards {
        grid-template-columns: 1fr;
    }

    .wrapper {
        padding: 15px;
    }

    .header {
        padding: 15px;
    }

    .header h1 {
        font-size: 20px;
    }
}

/* Services Management Styles */
.services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.services-list {
    margin-bottom: 30px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

.service-item:hover {
    background-color: #f9f9f9;
}

.service-item.active {
    background-color: #e8f4fc;
    border-left: 4px solid var(--primary);
}

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

.service-name {
    font-weight: 600;
}

.service-details {
    display: flex;
    gap: 15px;
    color: #7f8c8d;
    font-size: 14px;
}

.service-detail span {
    font-weight: 600;
    color: #2c3e50;
}

.service-actions {
    display: flex;
    gap: 10px;
}

.service-actions button {
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    font-size: 16px;
}

.service-actions button:hover {
    color: var(--primary);
}

.service-form {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}


.intake-question-list {
    margin-bottom: 30px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
}

.intake-question-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

.intake-question-item:hover {
    background-color: #f9f9f9;
}

.intake-question-item.active {
    background-color: #e8f4fc;
    border-left: 4px solid var(--primary);
}

.intake-question-item:last-child {
    border-bottom: none;
}

.intake-actions {
    display: flex;
    gap: 10px;
}

.intake-actions button {
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    font-size: 16px;
}

.intake-actions button:hover {
    color: var(--primary);
}


.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-col {
    flex: 1;
}

.duration-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.duration-option {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.duration-option:hover {
    border-color: var(--primary);
}

.duration-option.selected {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.service-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.hidden {
    display: none;
}


/* apoointments  */

.calendar-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: 20px;
}

.calendar-header {
    background: var(--linear);
    color: white;
    padding: 20px;
}

.day-header {
    background-color: #000;
    color: white;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}

.calendar-day {
    height: 120px;
    border: 1px solid #eaeaea;
    padding: 8px;
    transition: all 0.2s ease;
    background-color: white;
    width: 14%;
    flex: auto;
}

.calendar-day:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.day-number {
    font-weight: 600;
    margin-bottom: 5px;
    color: #000;
}

.calendar-day:hover .day-number {
    color: #fff;
}

.other-month {
    background-color: #f8f9fa;
    color: #adb5bd;
}

.today {
    background-color: #e9f7ff;
    border: 2px solid var(--primary);
}

.today .day-number {
    color: var(--primary);
    font-weight: 700;
}

.appointment {
    font-size: 0.75rem;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 3px solid white;
}

.appointment:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.in-person {
    background-color: #e0f7fa;
    border-left: 3px solid #00bcd4;
}

.virtual {
    background-color: #e8f5e9;
    border-left: 3px solid #4caf50;
}

.appointment-details {
    font-size: 0.7rem;
    display: none;
    background: white;
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: absolute;
    z-index: 100;
    width: 200px;
}

.appointment:hover .appointment-details {
    display: block;
}

.nav-button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.calendar-body {
    padding: 0px;
}

@media (max-width: 768px) {
    .calendar-day {
        height: 100px;
    }
}

@media (max-width: 576px) {
    .calendar-day {
        height: 80px;
        padding: 4px;
    }

    .day-number {
        font-size: 0.9rem;
    }

    .appointment {
        font-size: 0.7rem;
        padding: 2px 4px;
    }
}

.appointment.prepaid {
    background: var(--accent);
}

.appointment.postpaid {
    background: gold;
}

/* create profile  */

.onboarding-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow: hidden;
}

.progress-header {
    background: var(--linear);
    color: white;
    padding: 25px 30px;
    position: relative;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: var(--transition);
}

.step-label {
    font-size: 12px;
    opacity: 0.8;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.progress-bar {
    position: absolute;
    top: 20px;
    left: 20px;
    height: 3px;
    background: white;
    z-index: 1;
    transition: var(--transition);
    width: 0%;
}

.progress-step.active .step-number {
    background: white;
    color: var(--primary);
}

.onboarding-body {
    padding: 30px;
}

.form-section {
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.section-description {
    color: var(--gray);
    margin-bottom: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    /* padding: 14px 16px; */
    border: 1px solid #e1e5eb !important;
    /* border-radius: var(--border-radius) !important; */
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.select-group {
    position: relative;
}

.select-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.availability-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.day-selector {
    background: var(--light);
    border: 1px solid #e1e5eb;
    border-radius: var(--border-radius);
    padding: 12px 32px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    width: fit-content;
    margin-bottom: 8px;
}

.day-selector:hover {
    background: #e9ecef;
}

.day-selector.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.time-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.payment-option {
    border: 2px solid #e1e5eb;
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover {
    border-color: var(--accent);
}

.payment-option.selected {
    border-color: var(--primary);
    background: rgba(67, 97, 238, 0.05);
}

.payment-option i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.calendar-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.calendar-option {
    border: 2px solid #e1e5eb;
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.calendar-option:hover {
    border-color: var(--accent);
}

.calendar-option.selected {
    border-color: var(--primary);
    background: rgba(67, 97, 238, 0.05);
}

.calendar-option i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.social-input {
    position: relative;
}

.social-input i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.social-input input {
    padding-left: 45px;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e5eb;
}


/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {

    .form-grid,
    .social-grid,
    .payment-options,
    .calendar-options,
    .availability-grid {
        grid-template-columns: 1fr;
    }

    .time-inputs {
        grid-template-columns: 1fr;
    }

    .progress-steps {
        flex-wrap: wrap;
    }

    .progress-step {
        margin-bottom: 15px;
        flex: 0 0 33.333%;
    }

    .progress-steps::before {
        display: none;
    }

    .progress-bar {
        display: none;
    }
}




/* Header styles */
.profile-header {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 25px;
    display: flex;
    width: 100%;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--light);
    box-shadow: var(--shadow);
}

.profile-info {
    text-align: start;
    margin-left: 30px;
    flex: 1;
}

.profile-card-main .profile-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark);
}

.profile-title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 500;
}

.profile-specialization {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 16px;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    color: var(--gray);
}

.meta-item i {
    margin-right: 8px;
    color: var(--primary);
}

.profile-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(67, 97, 238, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--gray);
    border: 1px solid #e1e5eb;
}

.btn-outline:hover {
    background: #f8f9fa;
    color: var(--dark);
}

.hero-img {
    max-height: 60dvh;
    margin: auto;
    display: block;
}

/* Content layout */
.profile-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 25px;
}

/* Main content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.profile-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 25px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
}

.card-title i {
    margin-right: 12px;
    color: var(--primary);
}

.bio-text {
    line-height: 1.8;
    color: var(--dark);
}

/* Specializations */
.specializations {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.specialization {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Availability */
/* .availability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
} */

.day-item {
    background: var(--light);
    border: 1px solid #e1e5eb;
    border-radius: var(--border-radius);
    padding: 12px;
    text-align: center;
}

.day-item.available {
    background: #087c6e4d;
    color: var(--secondary);
    border-color: #087C6F;
}

.time-range {
    margin-top: 5px;
    font-size: 12px;
    color: #000;
}

/* Payment & Integration */
.integration-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.integration-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    color: var(--primary);
}

.integration-details {
    flex: 1;
}

.integration-name {
    font-weight: 500;
    margin-bottom: 3px;
}

.integration-desc {
    color: var(--gray);
    font-size: 14px;
}

/* Social links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.social-link.linkedin {
    background: rgba(10, 102, 194, 0.15);
    color: #0a66c2;
}

.social-link.facebook {
    background: rgba(24, 119, 242, 0.15);
    color: #1877f2;
}

.social-link.instagram {
    background: rgba(225, 48, 108, 0.15);
    color: #e1306c;
}

.social-link.tiktok {
    background: rgba(0, 0, 0, 0.15);
    color: #000;
}

/* Sidebar */
.profile .sidebar-profile {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray);
    font-size: 14px;
}

/* Contact card */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
}

.contact-details {
    flex: 1;
}

.contact-type {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 3px;
}

.contact-value {
    font-weight: 500;
}




/* dashboard cards */

/* Dashboard cards */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

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

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.card-title {
    font-weight: 600;
    font-size: 18px;
    color: var(--dark);
}

.card-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.card-text {
    color: var(--gray);
    font-size: 14px;
}

.revenue .card-icon {
    background: linear-gradient(45deg, #4cc9f0, #4361ee);
}

.appointments .card-icon {
    background: linear-gradient(45deg, #f72585, #7209b7);
}

.leads .card-icon {
    background: linear-gradient(45deg, #f9c74f, #f9844a);
}

.payments .card-icon {
    background: linear-gradient(45deg, #90be6d, #43aa8b);
}

.revenue .card-value {
    color: #4361ee;
}

.appointments .card-value {
    color: #7209b7;
}

.leads .card-value {
    color: #f9844a;
}

.payments .card-value {
    color: #43aa8b;
}


/* Content sections */
.content-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

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

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 12px;
    color: var(--primary);
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.view-all i {
    margin-left: 5px;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e1e5eb;
}

.data-table th {
    font-weight: 600;
    color: var(--gray);
    font-size: 14px;
}

.data-table tr:hover {
    background-color: #f8f9fa;
}

.status {
    display: inline-flex;
    width: 100px;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    text-align: center;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-completed {
    background: var(--accent);
    color: white;
}

.status-pending {
    background: gold !important;
    color: black;
}

.status-confirmed {
    background: var(--primary) !important;
    color: white !important;
}

/* Charts */
.chart-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

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

.chart-title {
    font-weight: 600;
    font-size: 20px;
    color: var(--dark);
}

.chart-actions button {
    background: var(--light);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 10px;
}

.chart-actions button:hover {
    background: var(--primary);
    color: white;
}

.chart-placeholder {
    background: linear-gradient(45deg, #f5f7fb, #e9ecef);
    height: 250px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}


.dropdown-item.active,
.dropdown-item:active {
    background: #fff !important;
}

.progress-steps::before {
    width: calc(100% - 40px);
    left: 20px;
}

button.btn.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

button.btn.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: white !important;
}

/* wallet start  */

.wallet-summary {
    background: white;
    border-radius: 12px;
    padding: 25px;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-card {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: white;
    height: 100%;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0;
}

.stat-1 {
    color: gold;
}

.stat-2 {
    color: var(--secondary);
}

.stat-3 {
    color: var(--accent);
}

.withdraw-form {
    padding: 20px !important;
    background: white;
    border-radius: 12px;
}

.btn-primary {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(120deg, var(--primary), #3abab9);
    transform: translateY(-2px);
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eaeaea;
    transition: background-color 0.2s;
}

.transaction-item:hover {
    background-color: #f8fbff;
}

.transaction-details {
    flex: 1;
}

.transaction-id {
    font-weight: 600;
    color: var(--dark);
}

.transaction-patient {
    color: var(--gray);
    margin-top: 4px;
}

.transaction-amount {
    font-weight: 700;
    font-size: 1.1rem;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-failed {
    background-color: rgba(220, 53, 69, 0.15);
    color: var(--danger);
}

.filter-section {
    padding: 16px 0px;
    background-color: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 20px;
}

.filter-btn {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 8px 16px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-weight: 500;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.action-btn {
    color: var(--gray);
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.action-btn:hover {
    background-color: #f8f9fa;
    color: var(--danger);
}

@media (max-width: 768px) {
    .balance-amount {
        font-size: 2rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .transaction-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .transaction-meta {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
    }
}


/* wallet ends  */


/* post starts  */


.post-content-container {
    display: grid;
    gap: 30px;
}

.left-column {
    width: 100%;
}

@media (max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}


.post-content-container textarea {
    width: 100%;
    min-height: 150px;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    resize: vertical;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.post-content-container textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(42, 106, 197, 0.1);
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-editor {
    height: 100%;
}

.post-preview {
    background: white;
    color: #333;
    border-radius: 12px;
    overflow: hidden;
    /* border: 1px solid #f1f1f1; */
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.post-image {
    height: 400px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-image img:hover {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
    font-size: 18px;
    line-height: 1.6;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding: 15px 25px;
    background: #f9f9f9;
}

.post-actions {
    display: flex;
    gap: 10px;
}




.image-selector {
    display: grid;
    margin-bottom: 20px;
}

.image-option {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-option:hover,
.image-option.selected {
    opacity: 1;
    border: 1px solid var(--primary);
}

.image-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.suggestions {
    margin-top: 30px;
}

.suggestion-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.hashtags {
    color: var(--primary);
    font-weight: 500;
    margin-top: 10px;
    font-size: 14px;
}

.ai-badge {
    background: var(--gradient);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-left: 10px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.date-display {
    font-size: 14px;
    color: #888;
    margin-top: 5px;
}



.services img {
    height: 150px;
    object-fit: contain;
}


/* post ends  */



/* profile previwe  */

.profile-preview {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 10px 0 20px;
    overflow: hidden;
    position: relative;
    border: 4px solid #e9ecef;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-preview:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

.profile-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.iconOne {
    font-size: 70px;
    color: var(--secondary);
    background: transparent;
}

.file-input {
    display: none;
}

.instructions {
    margin-top: 20px;
    color: #718096;
    font-size: 13px;
}

.requirements {
    margin-top: 5px;
    font-size: 12px;
    color: #a0aec0;
}

/* .profile-preview:has(#previewImage) .profile-icon{
    display: none;
} */



.pricing-section {
    padding: 80px 0;
}


.pricing-card {
    transition: all 0.3s ease;
    border: none;
    margin-bottom: 30px;
}

.pricing-card .card-title {
    font-size: 1.2rem;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}


.currency-selector {
    max-width: 300px;
    margin: 0 auto 20px;
}

.subscription-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.toggle-label {
    margin: 0 15px;
    font-weight: 500;
    color: #6c757d;
}

.toggle-label.active {
    color: var(--primary);
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(30px);
}

.price-annual {
    /* display: none; */
}

.price-saving {
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 10px;
}

.list-unstyled li {
    /* margin-bottom: 15px; */
    padding-inline: 1rem;
}

.btn-primary {
    padding: 12px 30px;
    font-weight: 600;
}

.most-popular {
    position: relative;
    z-index: 1;
}

.most-popular::before {
    content: "MOST POPULAR";
    position: absolute;
    top: 30px;
    right: -45px;
    background: var(--dark);
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 2;
}


/* flag  */

/* Modern Language Selector */
.language-selector {
    position: relative;
    display: inline-block;
}

.selected-language {
    display: flex;
    align-items: center;
    padding-block: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.selected-language:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.selected-language img {
    height: 28px;
    width: 40px;
    object-fit: contain;
}

.selected-language span {
    margin-left: 10px;
    font-weight: 600;
}

.selected-language i {
    margin-left: 5px;
    font-size: 0.5rem;
    transition: transform 0.3s ease;
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    width: 180px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    overflow: hidden;
}

.language-selector.active .language-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-selector.active .selected-language i {
    transform: rotate(180deg);
}

.language-option {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-option:hover {
    background: rgba(102, 126, 234, 0.1);
}

.language-option.active {
    background: rgba(102, 126, 234, 0.2);
    font-weight: 600;
}

.language-option img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.nav-link img.previewImage {
    border-radius: 50%;
    width: 45px !important;
    height: 45px !important;
    object-fit: cover;
    object-position: top;
}

.profile-preview img.previewImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    object-position: top;
    top: -2px;
}

.disabled-link {
    pointer-events: none;
    cursor: not-allowed;
    color: gray !important;
    opacity: 1;
    text-decoration: none;
}

.disabled-link:hover {
    color: gray !important;
    background: none !important;
}

.input-group:has(.ui-autocomplete-loadin) .input-group-text {
    border-color: var(--primary);
    border-left: 0;
}

.input-group-text {
    position: absolute;
    right: 3px;
    height: 40px;
    width: 40px;
    z-index: 99;
    top: 4px;
    border: 0px;
}


/* chat-bot  */

#chat-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: box-shadow 0.15s;
}

#chat-fab:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

#chat-popup {
    display: none;
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 350px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    overflow: hidden;
    flex-direction: column;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary);
    color: white;
    padding: 14px 20px;
    font-size: 18px;
}

.chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

#user-list {
    padding: 0;
    margin: 0;
    list-style: none;
    border-bottom: 1px solid #eee;
    height: 460px;
    overflow-y: auto;
    padding-bottom: 50px;
}

#user-list li {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.07s;
}

#user-list li:hover {
    background: #f7f7f7;
}

button#start-new {
    width: 100%;
    border-radius: 0px !important;
}

.last-message {
    flex: 1;
    color: #222;
    font-size: 15px;
    /* font-style: italic; */
    margin-right: 15px;
    /* Clamp to single line with ellipsis */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.date-time {
    color: #888;
    font-size: 10px;
    min-width: 110px;
    text-align: right;
}

/* Responsive improvement for small screens */
@media (max-width: 480px) {
    .date-time {
        min-width: 70px;
        font-size: 11px;
    }
}

#chat-popup .status {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    padding: 0px;
}

#chat-popup .status.online {
    background: var(--primary);
}

#chat-popup .status.offline {
    background: gold;
}

#chat-window {
    display: none;
    flex-direction: column;
    height: 460px;
}

.chat-user-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f5fff5;
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
}

#chat-messages {
    flex: 1;
    padding: 18px 10px 10px 10px;
    overflow-y: auto;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message-row {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    margin-bottom: 3px;
}

.message.me {
    margin-left: auto;
    background: var(--linear);
    color: #fff;
    border-radius: 20px 20px 8px 20px;
    padding: 10px 16px;
    max-width: 75%;
    box-shadow: 0 2px 7px rgba(47, 141, 70, 0.10);
    font-size: 15px;
}

.message.other {
    margin-right: auto;
    background: #ebebeb;
    color: #222;
    border-radius: 20px 20px 20px 8px;
    padding: 10px 16px;
    max-width: 75%;
    box-shadow: 0 2px 8px rgba(160, 160, 160, 0.08);
    font-size: 15px;
}

.message-meta {
    font-size: 11px;
    margin: 0 4px;
    color: #aaa;
    display: block;
    text-align: right;
    margin-top: 2px;
}


#chat-input-area {
    padding: 12px 14px;
    display: flex;
    gap: 8px;
    background: #f7f7f7;
    border-top: 1px solid #eee;
}

#chat-input {
    flex: 1;
    padding: 7px;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none;
}

#send-msg {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 7px 18px;
    cursor: pointer;
}


/* video section  */

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

section:has(.videos-grid) .section-header {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 20px auto 0;
}

/* Video Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.video-card {
    background: white;
    border-radius: 15px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 10px;
    border: 2px solid rgba(77, 76, 76, 0.288);
}

.video-card:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12); */
}

.video-thumbnail {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    color: var(--primary);
    font-size: 24px;
    margin-left: 5px;
}

.video-info {
    padding: 25px;
}

.video-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
    line-height: 1.4;
}

.video-description {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #95a5a6;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.video-views,
.video-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
    z-index: 10;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Only affects carousels with exactly 2 slides */


/* Call to Action Section */
.cta-section {
    /* background: linear-gradient(135deg, var(--primary), #2ecc71); */
    /* color: white; */
    padding: 80px 20px;
    text-align: center;
    margin: 60px 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}

/* video section  */




/* testimonials  */


.container:has(.testimonials-slider) .section-header {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 20px auto 0;
}

/* Testimonials Slider */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 15px;
    /* box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); */
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    width: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 100%;
}

.testimonial-message {
    font-style: italic;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

.rating {
    color: #f1c40f;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.author-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #2c3e50;
}

.author-details p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.author-profession {
    display: flex;
    align-items: center;
    margin-top: 3px;
}

.author-profession i {
    margin-right: 5px;
    color: var(--primary);
}

.author-country {
    display: flex;
    align-items: center;
    margin-top: 3px;
}

.author-country i {
    margin-right: 5px;
    color: #e74c3c;
}

/* Different card colors for variety */
.card-1 {
    border-top: 4px solid var(--primary);
}

.card-2 {
    border-top: 4px solid #2ecc71;
}

.card-3 {
    border-top: 4px solid #9b59b6;
}

.card-4 {
    border-top: 4px solid #e74c3c;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.slider-arrow {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: var(--primary);
}

.slider-arrow:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    margin: 0 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.3);
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Auto-play indicator */
.auto-play-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    color: #7f8c8d;
    font-size: 0.9rem;
    cursor: pointer;
}

.auto-play-toggle i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .testimonial-card {
        padding: 20px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }
}

/* testimonials  */


@media (max-width: 480px) {
    #chat-popup {
        width: 98vw;
        right: 1vw;
    }
}

/* Responsive design */
@media (max-width: 1440px) {
    .availability-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .card-title {
        font-size: 18px;
    }

    .contact-value {
        font-size: 15px;
    }

    .post-content,
    .bio-text {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .profile-content {
        grid-template-columns: 1fr;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-info {
        margin-left: 0;
        margin-top: 20px;
    }

    .profile-meta {
        /* justify-content: center; */
    }

    .availability-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sidebar {
        width: 70px;
        overflow: hidden;
    }

    .sidebar .logo {
        padding: 25px 10px;
    }

    .sidebar a span {
        display: none;
    }

    .sidebar a i {
        margin-right: 0;
        font-size: 22px;
    }

    .wrapper {
        margin-left: 70px;
    }

    .dashboard-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .profile-actions {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .availability-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .wrapper {
        padding: 15px;
    }

    .header {
        padding: 15px;
    }

    .header h1 {
        font-size: 20px;
    }
}


/* Media Mobile */
@media (max-width: 576px) {
    .footer-end .d-flex {
        display: unset !important;
    }

    .footer-end .col-auto {
        width: 100%;
        text-align: center;
        padding: 8px 0;
    }

    .footer-end .footer-links {
        display: none !important;
    }

    .mt-n6 {
        margin-top: -2rem;
    }

    .accordion-body {
        font-size: 0.9rem !important;
    }

    button.accordion-button {
        font-size: 0.9rem !important;
        padding-block: 0.5rem;
    }

    .header-bottom-block {
        padding-inline: 0px !important;
    }

    .header-bottom-block h1 i {
        font-size: 1.5rem !important;
    }

    .header-bottom-block p {
        font-size: 0.7rem !important;
    }

    div#navbarNav {
        background: black;
        border-radius: 8px;
        padding-block: 10px;
    }

    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link {
        color: white;
        padding-block: 5px;
    }

    button:focus:not(:focus-visible) {
        outline: 0;
        box-shadow: none;
    }

    .pricing-card {
        padding: 20px !important;
    }

    .pricing-card li {
        font-size: 0.8rem;
        line-height: 1.8;
    }
}

@media (max-width: 768px) {}

@media (max-width: 992px) {
    .m-none {
        display: none;
    }
}

@media (min-width: 992px) {}

@media (min-width: 1200px) {}

@media (min-width: 1400px) {}







/* Submenu hidden by default */
.sidebar ul li .submenu {
    display: none;
    background: transparent;
    /* match sidebar style */
    padding-left: 25px;
    margin-top: 6px;
    padding-top: 0px;
}

/* Submenu links */
.sidebar ul li .submenu li a {
    display: block;
    padding: 8px 12px;
    color: #cfcfcf;
    font-size: 14px;
    text-decoration: none;
}

.sidebar ul li .submenu li a:hover {
    color: #fff;
}

/* When parent has .open -> show submenu */
.sidebar ul li.has-submenu.open>.submenu {
    display: block;
}

/* Arrow rotate */
.submenu-arrow {
    float: right;
    transition: transform 0.25s ease;
    margin: auto;
}

.has-submenu.open .submenu-arrow {
    transform: rotate(180deg);
}

/* Optional: make parent look active when open */
.has-submenu.open>.menu-toggle {
    background: rgba(255, 255, 255, 0.04);
}






/* booking popup  */



/* Appointment Modal Styles */
.booking_popup .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.booking_popup .modal-header {
    background: linear-gradient(120deg, var(--primary), #3abab9);
    border-bottom: none;
    padding: 1.5rem 2rem;
}

.booking_popup .modal-header .modal-title {
    font-weight: 600;
    font-size: 1.4rem !important;
    color: white !important;
}

.booking_popup .modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.booking_popup .modal-header .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.booking_popup .modal-body {
    padding: 2rem;
    /* background-color: #f8fafc; */
}

/* Form Styles */
.booking_popup #appointmentForm {
    max-width: 100%;
}

.booking_popup .card-body {
    background: transparent;
}

.booking_popup .withdraw-form {
    /* background: white; */
    border-radius: 12px;
    padding: 0;
}

/* Form Groups */


/* Intake Questions Container */
#intakeQuestionsContainer {
    /* background: #f8fafc; */
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

/* Date & Time Section */
.d-flex.flex-column.flex-md-row.gap-2 {
    gap: 1rem !important;
}

/* Button Styles */
.confirm-booking-btn {
    background: linear-gradient(120deg, var(--primary), #3abab9);
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.confirm-booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.confirm-booking-btn:active {
    transform: translateY(0);
}

/* Error Message Styles */
.error-message {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
    font-weight: 500;
}

/* Form Text Styles */
.form-text {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-body {
        padding: 1.5rem;
    }

    .mb-3 {
        padding: 1.25rem;
        margin-bottom: 1.25rem !important;
    }

    .modal-header {
        padding: 1.25rem 1.5rem;
    }

    .d-flex.flex-column.flex-md-row.gap-2 {
        flex-direction: column;
    }
}


/* Animation for form elements */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mb-3 {
    animation: fadeIn 0.5s ease-out;
}

/* Custom scrollbar for modal */
.booking_popup .modal-body::-webkit-scrollbar {
    width: 6px;
}

.booking_popup .modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.booking_popup .modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.booking_popup .modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}







.fc-daygrid-day-events {
    height: 135px;
    overflow-y: auto;
}

div#timeSlotContainer button.btn.btn-outline-primary.active {
    color: white;
}

/* Toolbar container */
.note-toolbar {
    background: #ffffff;
    border: 1px solid rgba(8, 124, 111, 0.2);
    border-radius: 8px;
    padding: 6px;
    display: flex;
    gap: 0px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* Button groups */
.note-btn-group {
    display: flex;
    gap: 4px;
}

/* Toolbar buttons */
.note-btn {
    background: #f7f9f9;
    border: 1px solid rgba(8, 124, 111, 0.25);
    border-radius: 6px;
    padding: 7px 12px;
    color: var(--primary);
    transition: all 0.25s ease;
    text-align: center;

}

/* Icon size */
.note-btn i {
    font-size: 1rem;
    margin: 0px;
}

/* Hover effect */
.note-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(8, 124, 111, 0.3);
}

/* Active / pressed state */
.note-btn:active,
.note-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Focus state (accessibility) */
.note-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(8, 124, 111, 0.3);
}

/* Separate insert group visually */
.note-insert {
    margin-left: auto;
}

/* Responsive tweaks */
@media (max-width: 576px) {
    .note-toolbar {
        flex-wrap: wrap;
    }
}


span.close-summary-btn {
    position: absolute;
    left: -20px;
    top: -20px;
    padding: 0.5rem 1rem;
    background: red;
    color: white;
    border-radius: 5rem;
}

.info-card {
    position: relative;
}


.card-header-icon .btn-sm {
    margin-right: 0px !important;
    margin-left: auto !important;
    background: linear-gradient(120deg, var(--primary), #3abab9) !important;
    color: white !important;
}

.card-header-icon .btn-sm i {
    color: white !important;
}

.note-editable {
    background-color: #fff;
}







/* About Section */
.about-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.about-header {
    background: var(--linear);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 Z"></path></svg>');
    background-size: cover;
}

.about-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.tagline {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0.9;
    font-weight: 300;
}

/* Hero Introduction */
.hero-intro {
    padding: 80px 0 60px;
    background-color: white;
    text-align: center;
}

.hero-intro h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    /* margin-bottom: 30px; */
}

.hero-intro p {
    font-size: 1.25rem;
    color: var(--dark);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Purpose, Mission, Vision Sections */
.core-sections {
    padding: 40px 0 80px;
    background-color: #f0f7f6;
}

.core-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.core-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100%;
}

.core-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--linear);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.6rem;
}

.core-card h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    /* min-height: 60px; */
    font-weight: 700;
}

.core-card p {
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;
}

/* Values Section */
.values-section {
    padding: 60px 0;
    background-color: white;
    text-align: center;
}

.values-section h2 {
    font-size: 2.5rem !important;
    color: var(--primary) !important;
    font-weight: 700;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 35px 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(8, 124, 111, 0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--linear);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.value-card h3 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    /* min-height: 45px; */
}

.value-card p {
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--linear);
    color: white;
    text-align: center;
}

.stats-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;

}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-item .stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    color: white;
}

/* Call to Action */
.cta-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

section.cta-section.section-spacing h2 {
    font-weight: 700;
    font-size: 2.5rem;
}

.cta-content p {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: var(--linear);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(8, 124, 111, 0.2);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(8, 124, 111, 0.3);
    color: white;
}



/* Responsive Styles */
@media (max-width: 992px) {
    .about-header h1 {
        font-size: 2.8rem;
    }

    .tagline {
        font-size: 1.3rem;
    }

    .hero-intro h2 {
        font-size: 2.3rem;
    }

    .core-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .about-header {
        padding: 80px 0 60px;
    }

    .about-header h1 {
        font-size: 2.3rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .about-header h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .core-card,
    .value-card {
        padding: 25px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
}










/* How Its Work */


.text-primary {
    color: var(--primary) !important;
}

/* Custom Styles */
.gradient-bg {
    background: var(--linear);
}

.gradient-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.border-accent {
    border-color: var(--accent) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.bg-light-custom {
    background-color: rgba(8, 124, 111, 0.05) !important;
}

.bg-accent-light {
    background-color: rgba(72, 149, 239, 0.08) !important;
}

/* Header */
.hero-section {
    padding: 6rem 0 4rem;
    background: var(--linear);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 Z"></path></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--linear);
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Steps Timeline */
.step-timeline {
    position: relative;
    padding-left: 3rem;
}

.step-timeline::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--linear);
    z-index: 1;
}

.step-circle {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--linear);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(8, 124, 111, 0.3);
}

.step-card {
    border-left: 4px solid var(--accent);
    transition: var(--transition);
    margin-bottom: 3rem;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.step-card h3 {
    font-size: 1.8rem;
}

/* Stats Cards */
.stat-card {
    transition: var(--transition);
    border-top: 3px solid var(--primary);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

/* Get Started Cards */
.start-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    height: 100%;
    color: white;
}

.start-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.start-number {
    width: 50px;
    height: 50px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

/* Testimonial */
.testimonial-card {
    border-top: 5px solid var(--primary);
    max-width: 800px;
    margin: 0 auto;
}

/* CTA Button */
.cta-btn {
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.cta-btn-primary {
    background: white;
    color: var(--primary);
    border: none;
}

.cta-btn-primary:hover {
    background: var(--light);
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-btn-gradient {
    background: var(--linear);
    color: white;
    border: none;
}

.cta-btn-gradient:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(8, 124, 111, 0.3);
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }

    .step-timeline {
        padding-left: 0;
    }

    .step-timeline::before {
        display: none;
    }

    .step-circle {
        position: relative;
        margin-bottom: 1rem;
        left: auto;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {

    .step-card,
    .feature-card {
        padding: 1.5rem !important;
    }

    .cta-btn {
        padding: 0.6rem 2rem;
        font-size: 1rem;
    }
}





/* Privacy Policy */

.policy-card h2 {
    font-size: 2rem !important;
}

.text-primary {
    color: var(--primary) !important;
}

/* Custom Styles */
.gradient-bg {
    background: var(--linear);
}

.gradient-text {
    background: var(--linear);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-accent {
    border-color: var(--accent) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.bg-light-custom {
    background-color: rgba(8, 124, 111, 0.05) !important;
}

.bg-accent-light {
    background-color: rgba(72, 149, 239, 0.08) !important;
}

.bg-success-light {
    background-color: rgba(76, 201, 240, 0.08) !important;
}

/* Header */
.privacy-hero {
    padding: 6rem 0 4rem;
    background: var(--linear);
    color: white;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 Z"></path></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.last-updated {
    background: rgba(255, 255, 255, 0.15);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
}

/* Policy Cards */
.policy-card {
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    height: 100%;
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.section-number {
    width: 40px;
    height: 40px;
    background: var(--linear);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

/* Data Items */
.data-item-card {
    background-color: rgba(8, 124, 111, 0.05);
    border: 1px solid rgba(8, 124, 111, 0.1);
    transition: var(--transition);
    height: 100%;
}

.data-item-card:hover {
    background-color: rgba(8, 124, 111, 0.09);
    transform: translateY(-3px);
}

.security-item-card {
    background-color: rgba(72, 149, 239, 0.08);
    transition: var(--transition);
    height: 100%;
}

.security-item-card:hover {
    background-color: rgba(72, 149, 239, 0.12);
    transform: translateY(-3px);
}

.rights-item-card {
    background-color: rgba(76, 201, 240, 0.08);
    transition: var(--transition);
    height: 100%;
}

.rights-item-card:hover {
    background-color: rgba(76, 201, 240, 0.12);
    transform: translateY(-3px);
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: var(--linear);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
}

/* Contact Box */
.contact-box {
    background-color: rgba(8, 124, 111, 0.05);
    border: 1px solid rgba(8, 124, 111, 0.1);
}

.contact-email {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.contact-email:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .privacy-hero {
        padding: 4rem 0 3rem;
    }

    .section-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }

    .policy-card {
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    h1.display-4 {
        font-size: 2.2rem;
    }

    .last-updated {
        font-size: 0.9rem;
        padding: 0.4rem 1.2rem;
    }
}





/* Terms And Condition */





/* Header Styles */
.terms-header {
    background: var(--linear);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.terms-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 Z"></path></svg>');
    background-size: cover;
}

.terms-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.last-updated {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.15);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    margin-top: 10px;
}

/* Content Section */
.terms-content {
    background-color: white;
}

.terms-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: var(--dark);
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Terms Sections */
.terms-section {
    margin-bottom: 50px;
    background: white;
    border-radius: var(--border-radius);
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.terms-section:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--linear);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    margin-right: 15px;
    font-size: 1.2rem;
}

.terms-section h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 700;
}

.terms-section p {
    margin-bottom: 18px;
    color: var(--dark);
    font-size: 1.05rem;
}

.terms-section ul,
.terms-section ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.terms-section li {
    margin-bottom: 10px;
    color: var(--dark);
}

/* Highlighted Boxes */
.highlight-box {
    background-color: rgba(8, 124, 111, 0.07);
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    border-left: 3px solid var(--accent);
}

.warning-box {
    background-color: rgba(239, 68, 68, 0.07);
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    border-left: 3px solid #ef4444;
}

.info-box {
    background-color: rgba(72, 149, 239, 0.07);
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    border-left: 3px solid var(--accent);
}

.highlight-box h3,
.warning-box h3,
.info-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.warning-box h3 {
    color: #ef4444;
}

.contact-email {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
}

.contact-email i {
    margin-right: 8px;
}

.contact-email:hover {
    text-decoration: underline;
}

/* Plans Comparison */
.plan-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.plan-card.basic {
    border-top-color: var(--primary);
}

/* .plan-card.pro {
border-top-color: var(--accent);
} */

.plan-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.plan-header h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

/* .plan-card.pro .plan-header h3 {
color: var(--accent);
} */

.plan-features ul {
    list-style-type: none;
    padding-left: 0;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-left: 0;
}

.plan-features li i {
    color: var(--primary);
    margin-right: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* .plan-card.pro .plan-features li i {
color: var(--accent);
} */

/* Liability Grid */
.liability-item {
    background-color: rgba(76, 201, 240, 0.07);
    border-radius: 8px;
    padding: 20px;
    transition: var(--transition);
    border: 1px solid rgba(76, 201, 240, 0.1);
    height: 100%;
}

.liability-item:hover {
    background-color: rgba(76, 201, 240, 0.12);
}

.liability-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Purpose List */
.purpose-item {
    background-color: rgba(8, 124, 111, 0.05);
    border-radius: 8px;
    padding: 18px;
    display: flex;
    align-items: center;
    height: 100%;
}

.purpose-icon {
    background: var(--linear);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 1rem;
}

/* Prohibited Actions */
.prohibited-actions {
    background-color: rgba(239, 68, 68, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    border-left: 3px solid #ef4444;
}

.prohibited-actions h3 {
    color: #ef4444;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Contact Section */
.contact-section {
    background-color: rgba(8, 124, 111, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 40px;
    text-align: center;
    border: 1px solid rgba(8, 124, 111, 0.1);
}

.contact-section h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}


/* Custom spacing for Bootstrap */
.section-spacing {
    padding: 80px 0;
}

.section-spacing-sm {
    padding: 60px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .terms-header {
        padding: 80px 0 50px;
    }

    .terms-header h1 {
        font-size: 2.2rem;
    }

    .terms-section h2 {
        font-size: 1.6rem;
    }

    .terms-section {
        padding: 25px;
    }

    .section-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        margin-right: 10px;
    }

    .plan-card,
    .liability-item,
    .purpose-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .terms-header h1 {
        font-size: 1.8rem;
    }

    .last-updated {
        font-size: 1rem;
        padding: 6px 15px;
    }

    .terms-section {
        padding: 20px;
    }

    .highlight-box,
    .warning-box,
    .info-box {
        padding: 20px;
    }
}


/* responsive all Page */


@media screen and (max-width:768px) {

    /* about page */

    .section-spacing {
        padding: 40px 0;
    }

    .section-spacing-sm {
        padding: 40px 0;
    }

    /* Privacy Policy page */

    .privacy-hero {
        padding: 5rem 0 2rem;
    }

    /* Terms And Condition */

    .terms-header {
        padding: 90px 0 40px;
    }

    .section-spacing {
        padding: 40px 0;
    }

    .terms-section {
        margin-bottom: 30px;
    }

    .plan-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    /* How Its Work */

    .hero-section {
        padding: 5rem 0 2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
    }

    .gradient-text {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 32px !important;
    }

}



@media screen and (max-width:576px) {

    /* about Page */

    .about-header {
        padding: 85px 0 40px;
    }

    .hero-intro h2 {
        font-size: 1.8rem;
    }

    .section-spacing {
        padding: 30px 0;
    }

    .core-card h3 {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .values-section h2 {
        font-size: 1.8rem !important;
    }

    .value-card h3 {
        font-size: 1.25rem;
    }

    .value-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .stats-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 1.4rem;
        color: white;
    }

    .stat-card .stat-number {
        color: var(--primary)
    }

    .core-card p {
        text-align: center;
    }

    section.cta-section.section-spacing h2 {
        font-size: 1.8rem;
    }


    /* Privacy Policy */

    h1.display-4 {
        font-size: 2rem;
    }

    .policy-card h2 {
        font-size: 1.25rem !important;
    }

    .section-number {
        width: 35px;
        height: 35px;
        min-width: 10%;
    }

    .policy-card {
        padding: 0px
    }

    .contact-email {
        width: 100%;
        font-size: 1rem !important;
    }


    /* Terms And Condition */

    .liability-item {
        height: auto;
        margin: 10px 0px !important;
    }

    .terms-section h2 {
        font-size: 1.25rem;
    }

    .section-number {
        max-width: 14%;
    }

    /* How Its Work */
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .gradient-text {
        font-size: 1.5rem;
    }

    .lead {
        font-size: 1rem;
        font-weight: 300;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .step-circle {
        position: relative;
        left: auto;
    }

    .step-circle {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }

    .step-card {
        margin-bottom: 2rem;
    }
}



.switch-toggle .switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.switch-toggle .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-toggle .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.switch-toggle .slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 2px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.switch-toggle input:checked+.slider {
    background-color: #28a745;
}

.switch-toggle input:checked+.slider:before {
    transform: translateX(24px);
}

.post-preview {
    position: relative;
}

.post-preview .quick-meta {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    gap: 5px;
    z-index: 10;
}

.post-preview .quick-meta.dlt-icon {
    top: 10px !important;
    right: 10px !important;
}

.post-preview .list-action {
    display: flex;
    gap: 5px;
}

.post-preview .list-action a i {
    background-color: #fff;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}






ul.quick-meta.dlt-icon {
    height: fit-content;
}

.post-preview .list-action{
    align-items: center;
    gap: 1rem;
}

.switch-toggle input:checked+.slider{
    background: var(--primary);
}





/* **********************************
            Post-content-container start
************************************* */

        #postsContainer h3.card-title {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.8rem;
        }

        #postsContainer h3.card-title i {
            color: var(--accent);
            margin-right: 8px;
        }

        #postsContainer .form-text {
            color: var(--gray);
            font-size: 0.9rem;
        }

        #postsContainer .post-preview {
            background-color: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            transition: var(--transition);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        #postsContainer .post-preview:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        }

        #postsContainer .post-preview > div:first-child {
            padding: 15px 15px 10px;
            display: flex;
            justify-content: flex-start;
        }

        #postsContainer .post-status-badge {
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        #postsContainer .badge-success {
            background-color: rgba(76, 201, 240, 0.15);
            color: #0a7c8c;
            border: 1px solid rgba(76, 201, 240, 0.3);
        }

        #postsContainer .badge-secondary {
            background-color: rgba(108, 117, 125, 0.15);
            color: var(--gray);
            border: 1px solid rgba(108, 117, 125, 0.3);
        }

        #postsContainer .quick-meta {
            padding: 0 15px 10px;
            margin: 0;
            display: flex;
            justify-content: flex-end;
        }

        #postsContainer .quick-meta .list-action {
            display: flex;
            gap: 15px;
        }

        #postsContainer .quick-meta a {
            text-decoration: none;
            font-size: 1.1rem;
            transition: var(--transition);
        }

        #postsContainer .quick-meta a:hover {
            transform: scale(1.2);
        }

        #postsContainer .post-image {
            width: 100%;
            height: 200px;
            overflow: hidden;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
        }

        #postsContainer .post-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        #postsContainer .post-preview:hover .post-image img {
            transform: scale(1.05);
        }

        #postsContainer .post-content {
            padding: 15px;
            flex-grow: 1;
            color: #444;
            font-size: 0.95rem;
            line-height: 1.5;
            overflow: hidden;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
        }

        #postsContainer .post-meta {
            padding: 10px 15px 15px;
            border-top: 1px solid #eee;
            color: var(--gray);
            font-size: 0.85rem;
        }

        
    
        @media (max-width: 768px) {
            #postsContainer .post-content-container {
                padding: 15px;
            }
            
            #postsContainer .col-md-4 {
                flex: 0 0 100%;
                max-width: 100%;
            }
            
            #postsContainer .d-flex.justify-content-between.mb-2 {
                flex-direction: column;
                align-items: flex-start;
            }
            
            #postsContainer .d-flex.justify-content-between.mb-2 > a.btn {
                margin-top: 15px;
                align-self: flex-start;
            }
            
            #postsContainer .post-image {
                height: 180px;
            }
        }

        @media (max-width: 576px) {
            #postsContainer .post-content-container h3.card-title {
                font-size: 1.5rem;
            }
            
            #postsContainer .post-image {
                height: 160px;
            }
            
            #postsContainer .quick-meta .list-action {
                gap: 12px;
            }
        }



    





        #addPostForm .post-editor h2.card-title {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.4rem;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

       

        #addPostForm .form-group label {
            display: block;
            font-weight: 600;
            margin-bottom: 8px;
            font-size: 1rem;
        }


        #addPostForm input[type="checkbox"], input[type="radio"] {
            margin-right: 8px;
            accent-color: var(--primary);
            cursor: pointer;
        }

        #addPostForm .form-group input[type="checkbox"] + label,
        #addPostForm .form-group input[type="radio"] + label {
            display: inline;
            font-weight: normal;
            cursor: pointer;
        }

        

        #addPostForm input:checked + .slider {
            background-color: var(--primary);
        }

        #addPostForm input:checked + .slider:before {
            transform: translateX(24px);
        }

        #post-status-text {
            font-size: 1rem;
        }
  

        #generated-div {
            animation: fadeIn 0.5s ease;
            margin-top:10px;
        }

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

        /* Responsive adjustments */
        @media (max-width: 768px) {
            
            #addPostForm .post-editor {
                padding: 20px;
            }
            
            #addPostForm .post-editor h2.card-title {
                font-size: 1.5rem;
            }
           
            #addPostForm .btn {
                width: 100%;
                justify-content: center;
            }
         
            
            #addPostForm .form-group > .d-flex.gap-2 > * {
                margin-bottom: 5px;
            }
        }

        @media (max-width: 576px) {
            #addPostForm .post-editor {
                padding: 15px;
            }
            
            #addPostForm .form-select, .form-control, textarea, input[type="text"], input[type="file"] {
                padding: 10px 12px;
            }
            
        }

        /* Custom styling for form elements */
       #addPostForm .form-group:last-of-type {
            margin-bottom: 10px;
        }

       #addPostForm input[type="file"] {
            padding: 10px;
            border: 1px dashed #ddd;
            background-color: #f8f9fa;
        }

        input[type="file"]:hover {
            background-color: #f0f2f5;
        }

        #addPostForm .d-flex > label {
            display: flex;
            align-items: center;
            cursor: pointer;
            padding: 5px 10px;
            border-radius: var(--border-radius);
            transition: var(--transition);
        }

        #addPostForm .d-flex > label:hover {
            background-color: rgba(8, 124, 111, 0.1);
        }

        #addPostForm .d-flex > label input[type="radio"] {
            margin-right: 8px;
        }




/* **********************************
            Post-content-container End
************************************* */

.dataTables_wrapper {
    overflow-x: auto;
     -webkit-overflow-scrolling: touch;
}

table.dataTable {
    width: 100% !important;
    min-width: 1200px; /* adjust as needed */
    -webkit-overflow-scrolling: touch;
}


.trial-text {
    text-align: center !important;
    padding: 6px 40px;
    background: #087b6e2b;
    max-width: fit-content;
    margin: auto;
    margin-bottom: 16px;
    border-radius: 8px;
    border: 1px solid #097c6f;
}


@media (max-width:576px) {
    .onboarding-container .form-footer {
        flex-direction: column !important;
        gap: 18px;
    }
}