﻿/*user post--------------------------------*/

:root {
    --userpost-primary: #6366f1;
    --userpost-primary-hover: #4f46e5;
    --userpost-text: #1e293b;
    --userpost-border: #cbd5e1; /* Slightly darker for visibility on white */
}

.userpost-container {
    padding: 20px;
    display: flex;
    justify-content: center;
    background: transparent; /* Removed background */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.userpost-form {
    background: transparent; /* Removed card background */
    width: 100%;
    max-width: 500px;
    padding: 0; /* Removed padding since there is no background to contain */
    border-radius: 0;
    box-shadow: none; /* Removed shadow */
}

.userpost-header {
    text-align: left; /* Changed to left for a cleaner integrated look */
    margin-bottom: 2rem;
}

.userpost-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--userpost-text);
    margin: 0;
    letter-spacing: -0.025em;
}

.userpost-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.userpost-group {
    margin-bottom: 1.5rem;
}

.userpost-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    margin-bottom: 0.6rem;
}

.userpost-input,
.userpost-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.5); /* Slight tint for contrast */
    border: 2px solid var(--userpost-border);
    border-radius: 0.5rem;
    font-size: 1rem;
    color: var(--userpost-text);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.userpost-textarea {
    min-height: 140px;
}

    .userpost-input:focus,
    .userpost-textarea:focus {
        outline: none;
        background: #ffffff;
        border-color: var(--userpost-primary);
    }

.userpost-upload-card {
    border: 2px dashed var(--userpost-border);
    padding: 1.25rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .userpost-upload-card:hover {
        border-color: var(--userpost-primary);
        background: rgba(99, 102, 241, 0.05);
    }

.userpost-submit-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--userpost-primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s active, background 0.2s ease;
}

    .userpost-submit-btn:hover {
        background: var(--userpost-primary-hover);
    }
:root {
    --userpost-primary: #6366f1;
    --userpost-primary-hover: #4f46e5;
    --userpost-text: #1e293b;
    --userpost-border-color: rgba(0, 0, 0, 0.08); /* Very light border */
    --userpost-bg-tint: rgba(255, 255, 255, 0.4); /* Glass-like tint */
}

.userpost-container {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    background: transparent;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.userpost-form {
    width: 100%;
    max-width: 500px;
    padding: 2.5rem;
    /* This creates the small border background effect */
    background: var(--userpost-bg-tint);
    border: 1px solid var(--userpost-border-color);
    border-radius: 1.25rem;
    /* Optional: very soft blur for a modern "Glass" feel */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.userpost-header {
    margin-bottom: 2rem;
}

.userpost-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--userpost-text);
    margin: 0;
}

.userpost-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.4rem;
}

.userpost-group {
    margin-bottom: 1.25rem;
}

.userpost-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.userpost-input,
.userpost-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    font-size: 1rem;
    color: var(--userpost-text);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.userpost-textarea {
    min-height: 120px;
    resize: none;
}

    .userpost-input:focus,
    .userpost-textarea:focus {
        outline: none;
        background: #ffffff;
        border-color: var(--userpost-primary);
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    }

.userpost-upload-card {
    border: 1px dashed rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

    .userpost-upload-card:hover {
        border-color: var(--userpost-primary);
        background: #ffffff;
    }

.userpost-submit-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 0.9rem;
    background: var(--userpost-primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .userpost-submit-btn:hover {
        background: var(--userpost-primary-hover);
        transform: translateY(-1px);
    }

/* Mobile Tweak */
@media (max-width: 480px) {
    .userpost-form {
        padding: 1.5rem;
    }
}











/*video------------------------------------*/


/* 1. MASTER WRAPPER - The primary fix for horizontal scrolling */
.videohero-master-wrapper {
    width: 100%;
    overflow-x: hidden; /* Stops the black bar/pole on the right */
    position: relative;
    margin: 0;
    padding: 0;
}

/* 2. SECTION STYLING */
.videohero-section {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: relative;
    background: #000;
    display: block;
    box-sizing: border-box;
}

.videohero-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden; /* Safety for the video object */
}

.videohero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.videohero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.videohero-center-content {
    text-align: center;
    color: #ffffff;
    font-family: sans-serif;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.videohero-title {
    /* clamp prevents text from pushing past screen bounds on narrow phones */
    font-size: clamp(1.8rem, 8vw, 5.5rem);
    font-weight: 900;
    /* Reduced spacing for mobile to stop overflow */
    letter-spacing: clamp(2px, 2vw, 12px);
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.videohero-line {
    width: 40px;
    height: 3px;
    background: #ffffff;
    margin: 15px auto;
}

.videohero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* 3. STYLED PILL FOOTER */
.videohero-footer {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 10px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    /* This prevents the pill from creating a horizontal scroll */
    max-width: calc(100% - 40px);
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.videohero-social {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .videohero-social:hover {
        background: rgba(255, 255, 255, 0.2);
    }

/* 4. MOBILE-SPECIFIC FIXES */
@media (max-width: 768px) {
    .videohero-footer {
        bottom: 60px;
        width: auto;
        padding: 8px 12px;
    }

    .videohero-social {
        padding: 6px 10px;
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
}












/*section separator------------------------------*/

.sectionseparator-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%; /* Leaves breathing room on mobile */
    max-width: 1200px; /* Prevents it from getting too wide on desktop */
    margin: 0 auto; /* Centers the container */
    padding-top: 30px; /* Your requested top padding */
    padding-bottom: 30px;
}

.sectionseparator-line {
    flex: 1; /* Makes lines take up remaining space */
    height: 1px;
    /* A subtle gradient that fades out toward the edges */
    background: linear-gradient(to var(--direction, right), rgba(255,255,255,0), rgba(255,255,255,0.5));
}

    /* Reverses the gradient for the second line */
    .sectionseparator-line:last-child {
        background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,0.5));
    }

.sectionseparator-text {
    padding: 0 20px;
    color: #ffffff;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap; /* Prevents text from wrapping on tiny screens */
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .sectionseparator-text {
        font-size: 0.75rem; /* Smaller text for mobile */
        letter-spacing: 2px;
        padding: 0 10px;
    }

    .sectionseparator-container {
        width: 95%;
        padding-top: 20px; /* Slightly tighter on mobile */
    }
}












/* --- MODERN DELETE POPUP SYSTEM --- */

:root {
    --dpb-red: #ff4757;
    --dpb-red-hover: #ff6b81;
    --dpb-dark: #2f3542;
    --dpb-gray: #f1f2f6;
    --dpb-text-muted: #747d8c;
    --dpb-radius: 24px;
}

/* 1. The Overlay (Glassmorphism Effect) */
.deletepopupbutton-overlay {
    display: none; /* Crucial: Hidden by default */
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    animation: dpb-fade 0.2s ease-out;
}

/* 2. The Card Container */
.deletepopupbutton-card {
    background: #ffffff;
    width: 100%;
    max-width: 360px;
    padding: 32px 24px;
    border-radius: var(--dpb-radius);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    border: none;
    animation: dpb-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 3. The Warning Icon Wrapper */
.deletepopupbutton-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #fff0f0;
    color: var(--dpb-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .deletepopupbutton-icon-wrapper svg {
        width: 30px;
        height: 30px;
    }

/* 4. Typography */
.deletepopupbutton-title {
    font-family: -apple-system, system-ui, sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--dpb-dark);
}

.deletepopupbutton-text {
    font-family: -apple-system, sans-serif;
    color: var(--dpb-text-muted);
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 25px;
}

#deletepopupbutton-id-display {
    font-weight: 700;
    color: var(--dpb-dark);
    background: var(--dpb-gray);
    padding: 2px 8px;
    border-radius: 6px;
}

/* 5. Buttons & Form Footer */
.deletepopupbutton-footer {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
}

.deletepopupbutton-btn-solid,
.deletepopupbutton-btn-ghost {
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    padding: 14px;
    border-radius: 16px;
    cursor: pointer;
    border: none;
    outline: none;
    width: 100%;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
}

/* The Action Button */
.deletepopupbutton-btn-solid {
    background: var(--dpb-red);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

    .deletepopupbutton-btn-solid:hover {
        background: var(--dpb-red-hover);
        transform: translateY(-1px);
    }

/* The Cancel Button */
.deletepopupbutton-btn-ghost {
    background: transparent;
    color: var(--dpb-text-muted);
}

    .deletepopupbutton-btn-ghost:hover {
        background: var(--dpb-gray);
        color: var(--dpb-dark);
    }

/* 6. Mobile & Animation Keyframes */
@keyframes dpb-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes dpb-pop {
    from {
        transform: scale(0.9) translateY(10px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@media (min-width: 480px) {
    .deletepopupbutton-footer {
        flex-direction: row;
    }
}





/*testimonie must be approved popup----------------------------*/


/* The full-screen dim background */
.testimoniepopup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px; /* Prevents card from touching screen edges on mobile */
}

/* The popup card */
.testimoniepopup-card {
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
    box-sizing: border-box;
    animation: testimoniepopup-slideUp 0.3s ease-out;
}

.testimoniepopup-icon-box {
    width: 60px;
    height: 60px;
    background: #f0fdf4;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.testimoniepopup-icon {
    font-size: 28px;
    font-weight: bold;
}

.testimoniepopup-title {
    font-family: sans-serif;
    color: #111827;
    margin: 0 0 10px 0;
    font-size: 22px;
}

.testimoniepopup-body p {
    color: #4b5563;
    font-family: sans-serif;
    line-height: 1.5;
    margin: 5px 0;
}

.testimoniepopup-info-box {
    background: #f9fafb;
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid #e5e7eb;
}

    .testimoniepopup-info-box p {
        font-size: 14px;
        color: #6b7280;
    }

/* The Button */
.testimoniepopup-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s;
}

    .testimoniepopup-btn:hover {
        background: #1d4ed8;
    }

/* Smooth entry animation */
@keyframes testimoniepopup-slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}






/*photo image device opener--------------------------------*/

/* Photo Upload Styling */
.devicefileopen-av-card {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    border: 2px dashed #cbd5e1;
}

.devicefileopen-preview-container {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto;
    border-radius: 12px; /* Square with rounded corners looks modern */
    overflow: hidden;
    cursor: pointer;
    background: #e2e8f0;
}

.devicefileopen-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.devicefileopen-upload-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 12px;
    padding: 4px 0;
}

.devicefileopen-submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--devicefile-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

    .devicefileopen-submit-btn:hover {
        background-color: var(--devicefile-primary-hover);
    }

/* Mobile Specific Tweaks */
@media (max-width: 400px) {
    .devicefileopen-row-flex {
        flex-direction: column;
        gap: 0;
    }

    .devicefileopen-modern-form {
        padding: 15px;
    }
}











/*stylish font title--------------------------------------------*/

/* Container spacing */
.stylishfonttitle-outer-container {
    width: 100%;
    padding: 30px 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Thicker Silver Metallic Bars */
.stylishfonttitle-silver-bar {
    width: 100%;
    /* Thicker height for visibility */
    height: 3px;
    /* Multi-stop gradient for a polished chrome/silver look */
    background: linear-gradient(90deg, transparent 0%, rgba(170, 170, 170, 0.4) 10%, rgba(255, 255, 255, 0.9) 50%, rgba(170, 170, 170, 0.4) 90%, transparent 100%);
    /* Adds a soft silver glow around the bar */
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

/* Text Wrapper */
.stylishfonttitle-header-box {
    padding: 50px 20px;
    text-align: center;
}

/* The Stylish Font */
.stylishfonttitle-text {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: clamp(2rem, 8vw, 4rem);
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 300;
    line-height: 1.2;
    /* Soft shadow to keep text readable against any background */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

    /* Accent Word Styling */
    .stylishfonttitle-text span {
        color: #e0e0e0; /* Light silver-white */
        font-style: italic;
        font-weight: 400;
        letter-spacing: 0.05em;
        position: relative;
    }

/* Mobile Devices */
@media (max-width: 768px) {
    .stylishfonttitle-silver-bar {
        height: 2px; /* Slightly thinner on mobile to stay elegant */
    }

    .stylishfonttitle-header-box {
        padding: 40px 15px;
    }

    .stylishfonttitle-text {
        letter-spacing: 0.15em;
    }
}









/*user testimonie form post---------------------------------------*/


/* Container & Section */
.testimonieformpost-wrapper {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    background: transparent;
}

.testimonieformpost-card {
    width: 100%;
    max-width: 700px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

/* Header */
.testimonieformpost-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
}

    .testimonieformpost-title span {
        color: #c0c0c0; /* Silver Accent */
        font-style: italic;
    }

.testimonieformpost-subtitle {
    color: #777;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

/* Form Layout */
.testimonieformpost-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.testimonieformpost-group {
    margin-bottom: 25px;
}

.testimonieformpost-label {
    display: block;
    color: #c0c0c0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* Input Styling */
.testimonieformpost-input,
.testimonieformpost-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .testimonieformpost-input:focus,
    .testimonieformpost-textarea:focus {
        outline: none;
        border-color: #ffffff;
        background: rgba(255, 255, 255, 0.07);
    }

/* Modern File Upload */
.testimonieformpost-file-custom {
    position: relative;
    width: 100%;
}

.testimonieformpost-file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.testimonieformpost-file-label {
    display: block;
    padding: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    text-align: center;
    color: #888;
    transition: 0.3s;
}

.testimonieformpost-file-input:hover + .testimonieformpost-file-label {
    border-color: #c0c0c0;
    color: #fff;
}

/* Submit Button */
.testimonieformpost-submit {
    width: 100%;
    background: transparent;
    border: 1px solid #c0c0c0;
    color: #c0c0c0;
    padding: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
}

    .testimonieformpost-submit:hover {
        background: #fff;
        color: #000;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }

/* Mobile Devices */
@media (max-width: 768px) {
    .testimonieformpost-input-row {
        grid-template-columns: 1fr;
    }

    .testimonieformpost-card {
        padding: 30px 20px;
    }

    .testimonieformpost-title {
        font-size: 1.8rem;
    }
}








/*border---------------------------*/

/* Container to handle the spill-over onto the hero */
.bordersection-outer {
    width: 100%;
    position: relative;
    z-index: 100;
    margin-top: -20px; /* Spills over the Hero section */
    height: 40px;
    display: flex;
    align-items: center;
}

/* The Thick Solid Bar */
.bordersection-solid-bar {
    width: 100%;
    height: 15px; /* Thick and solid */
    background: linear-gradient(180deg, #e0e0e0 0%, #888 100%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Interesting Shape in the Middle */
.bordersection-center-shape {
    width: 60px;
    height: 60px;
    background: #ffffff;
    /* Creating a sharp 3D diamond/hexagon shape */
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    border: 2px solid #D4AF37; /* Gold rim for style */
}

/* The Inner Icon/Detail */
.bordersection-inner-icon {
    width: 40%;
    height: 40%;
    background: #D4AF37;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .bordersection-outer {
        margin-top: -15px;
    }

    .bordersection-solid-bar {
        height: 6px;
    }

    .bordersection-center-shape {
        width: 45px;
        height: 45px;
    }
}






/*testimonie user lst test---------------------------------------*/

/* --- 1. Base Theme & Reset --- */
:root {
    --lst-bg: #0f172a;
    --lst-card-bg: rgba(30, 41, 59, 0.7);
    --lst-accent: #38bdf8;
    --lst-text-main: #f8fafc;
    --lst-text-dim: #94a3b8;
    --lst-border: rgba(255, 255, 255, 0.1);
    --lst-danger: #f43f5e;
    --lst-danger-hover: #e11d48;
}

.testimonie-user-lst-section {
    background-color: var(--lst-bg);
    padding: 60px 20px;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
    color: var(--lst-text-main);
}

/* --- 2. The Masonry Container --- */
/* column-count ensures no empty spaces to the left or right of long cards */
.testimonie-user-lst-container {
    max-width: 1200px;
    margin: 0 auto;
    column-count: 3;
    column-gap: 24px;
}

/* --- 3. The Testimonial Card --- */
.testimonie-user-lst-card {
    position: relative; /* Context for the absolute delete button */
    display: inline-block; /* Required for column-flow */
    width: 100%;
    margin-bottom: 24px;
    background: var(--lst-card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--lst-border);
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
    break-inside: avoid; /* Prevents card from splitting across columns */
}

    .testimonie-user-lst-card:hover {
        transform: translateY(-8px);
        border-color: var(--lst-accent);
    }

/* --- 4. Header & Typography --- */
.testimonie-user-lst-header {
    margin-bottom: 12px;
    padding-right: 40px; /* Space for the delete button */
}

.testimonie-user-lst-name {
    color: var(--lst-text-main);
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.2;
}

.testimonie-user-lst-date {
    color: var(--lst-accent);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-top: 4px;
}

.testimonie-user-lst-text {
    color: var(--lst-text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* --- 5. Conditional Image Area --- */
/* Completely hides the area if no image is present */
.testimonie-user-lst-img-area:not(:has(img)) {
    display: none;
}

.testimonie-user-lst-img-area:has(img) {
    margin-top: 20px;
    width: 100%;
    max-height: 280px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonie-user-lst-img-area img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.testimonie-user-lst-card:hover img {
    filter: brightness(1.1);
}

/* --- 6. The Delete Button --- */
.testimonie-user-lst-delete-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.2);
    color: var(--lst-danger);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

    .testimonie-user-lst-delete-btn:hover {
        background: var(--lst-danger-hover);
        color: #ffffff;
        border-color: var(--lst-danger-hover);
        box-shadow: 0 0 15px rgba(225, 29, 72, 0.4);
        transform: scale(1.1);
    }

    .testimonie-user-lst-delete-btn:active {
        transform: scale(0.95);
    }

/* --- 7. Responsive Breakpoints --- */

/* Tablet (2 columns) */
@media (max-width: 992px) {
    .testimonie-user-lst-container {
        column-count: 2;
    }
}

/* Mobile (1 column) */
@media (max-width: 600px) {
    .testimonie-user-lst-container {
        column-count: 1;
    }

    .testimonie-user-lst-section {
        padding: 30px 15px;
    }

    .testimonie-user-lst-card {
        padding: 20px;
    }

    .testimonie-user-lst-name {
        font-size: 1.05rem;
    }
}