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

    .company-logo {
        max-height: 80px;
        margin-bottom: 20px;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }

    /* CARD STYLES */
    .card {
        border: none;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        margin-bottom: 30px;
        overflow: hidden;
    }

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

    .card-header {
        background-color: var(--secondary-color);
        color: white;
        font-weight: bold;
        padding: 15px 20px;
    }

    /* FORM STYLES */
    .form-control,
    .form-select {
        border-radius: 5px;
        padding: 10px 15px;
        border: 1px solid #ddd;
        transition: all 0.3s ease;
    }

    .form-control:focus,
    .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
    }

    .btn-primary {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        padding: 10px 25px;
        border-radius: 5px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        background-color: #2980b9;
        border-color: #2980b9;
        transform: translateY(-2px);
    }

    /* TICKET SYSTEM */
    .ticket-type {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .ticket-option {
        padding: 15px;
        border: 2px solid #eee;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
    }

    .ticket-option:hover {
        border-color: var(--primary-color);
        background-color: rgba(52, 152, 219, 0.05);
    }

    .ticket-option i {
        font-size: 24px;
        margin-right: 15px;
        color: var(--primary-color);
    }

    .ticket-option.active {
        border-color: var(--primary-color);
        background-color: rgba(52, 152, 219, 0.1);
    }

    .ticket-item {
        padding: 15px;
        border-bottom: 1px solid #eee;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .ticket-item:hover {
        background-color: rgba(0, 0, 0, 0.03);
    }

    .ticket-item.active {
        background-color: rgba(52, 152, 219, 0.1);
        border-left: 3px solid var(--primary-color);
    }

    .ticket-status,
    .status-badge {
        display: inline-block;
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        border-radius: 0.25rem;
        font-weight: bold;
        text-transform: uppercase;
    }

    .status-open {
        background-color: #d4edda;
        color: #155724;
    }

    .status-pending {
        background-color: #fff3cd;
        color: #856404;
    }

    .status-resolved,
    .status-closed {
        background-color: #f8d7da;
        color: #721c24;
    }

    .ticket-images {
        border-top: 1px dashed #eee;
        padding-top: 15px;
        margin-top: 15px;
    }

    .hover-zoom {
        transition: transform 0.3s ease;
        cursor: pointer;
        object-fit: cover;
        height: 120px;
        width: 100%;
        background-color: #f8f9fa;
    }

    .hover-zoom:hover {
        transform: scale(1.03);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    /* TICKET UI COMPONENTS */
    .ticket-list {
        list-style: none;
        padding: 0;
        opacity: 0;
    }

    @keyframes popIn {
        0% {
            opacity: 0;
            transform: scale(0.95) translateY(20px);
        }
        100% {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }

    .ticket-item.pop-in {
        animation: popIn 0.5s forwards;
        opacity: 0;
    }

    .ticket-list-container {
        overflow-y: auto;
        transition: height 0.5s ease;
        height: 0;
    }
    .ticket-list-container.expanded {
        height: calc(100vh - 300px);
    }

    .ticket-preview {
        border-bottom: 1px solid #eee;
        padding: 1rem;
    }


    .ticket-preview.active {
        background-color: rgba(52, 152, 219, 0.05);
    }

    .ticket-subject {
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .ticket-meta {
        font-size: 0.85rem;
        color: #6c757d;
    }
    /* Add to your existing CSS */
.ticket-preview {
    transition: all 0.4s ease-out;
    margin-bottom: 0.5rem;
    border-radius: 8px !important;
    border-left: 3px solid transparent;
    transform: translateY(20px);
    opacity: 0;
}

/* Add these to your existing CSS */
.ticket-list-container {
    overflow-y: auto;
    transition: height 0.5s ease;
    height: 0;
}

.ticket-list-container.expanded {
    height: 400px; /* Adjust this value based on your needs */
}

.ticket-preview {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease-out;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 3px solid transparent;
}

.ticket-preview.visible {
    opacity: 1;
    transform: translateY(0);
}

.ticket-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-left-color: var(--primary-color);
}

.ticket-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    border-left-color: var(--primary-color);
}

.ticket-subject {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.ticket-meta {
    font-size: 0.85rem;
    color: #6c757d;
}

.view-conversation-btn {
    transition: all 0.2s ease;
}

.view-conversation-btn:hover {
    transform: scale(1.05);
}

.attachment-thumb {
    transition: all 0.2s ease;
    border: 1px solid #eee;
}

.attachment-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Animation classes */
.animate__fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

    /* CONVERSATION MESSAGES */
    .conversation-container {
        height: calc(100vh - 120px);
        display: flex;
        flex-direction: column;
    }

    .message-history {
        flex-grow: 1;
        overflow-y: auto;
        padding: 1rem;
        background-color: #f9f9f9;
    }

    .reply-form {
        padding: 1rem;
        border-top: 1px solid #eee;
        background-color: white;
    }

    .message {
        max-width: 80%;
        margin-bottom: 1rem;
        position: relative;
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
    }

    .customer-message {
        background-color: var(--primary-color);
        color: white;
        margin-left: auto;
        border-bottom-right-radius: 0;
    }

    .support-message {
        background-color: #f1f1f1;
        margin-right: auto;
        border-bottom-left-radius: 0;
    }

    .message-time {
        font-size: 0.75rem;
        color: #0e4474;
        margin-top: 0.25rem;
        font-weight: 500;
    }
    .message-sender {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.message-content {
    margin-bottom: 0.25rem;
}

.customer-message .message-sender {
    color: #e3f2fd;
}

.support-message .message-sender {
    color: #333;
}
/* Add to your existing CSS */
.message {
    transition: all 0.3s ease-out;
    margin-bottom: 0.8rem;
    transform: translateY(10px);
    opacity: 0;
}

.message-sender {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.message-content {
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.message-time {
    font-size: 0.75rem;
    color: rgba(0,0,0,0.5);
    margin-top: 0.25rem;
}

.customer-message {
    background-color: var(--primary-color);
    color: white;
    margin-left: auto;
    border-radius: 12px 12px 0 12px;
    padding: 0.75rem 1rem;
    max-width: 80%;
}

.customer-message .message-sender {
    color: rgba(255,255,255,0.9);
}

.customer-message .message-time {
    color: rgba(255,255,255,0.7);
}

.support-message {
    background-color: #f1f1f1;
    margin-right: auto;
    border-radius: 12px 12px 12px 0;
    padding: 0.75rem 1rem;
    max-width: 80%;
}

.support-message .message-sender {
    color: var(--dark-color);
}

.animate__animated {
    animation-duration: 0.5s;
}

    /* NAVIGATION */
    .nav-tabs .nav-link {
        color: #6c757d;
        font-weight: 600;
        border: none;
        padding: 0.75rem 1.5rem;
        transition: all 0.3s ease;
    }

    .nav-tabs .nav-link:hover:not(.active) {
        border-bottom: 3px solid #dee2e6;
    }

    .nav-tabs .nav-link.active {
        color: var(--primary-color);
        border-bottom: 3px solid var(--primary-color);
        background-color: transparent;
    }

    /* MISC */
    .floating-btn {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: var(--primary-color);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        z-index: 100;
        transition: all 0.3s ease;
    }

    .floating-btn:hover {
        transform: scale(1.1);
        background-color: #2980b9;
    }

    footer {
        background-color: var(--secondary-color);
        color: white;
        padding: 30px 0;
        margin-top: 60px;
    }

    .animate-on-scroll {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .cover-image-container {
        height: 200px;
        background-size: cover;
        background-position: center;
        margin-bottom: 30px;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
    }

    .cover-image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 24px;
        font-weight: bold;
    }

    @media (max-width: 768px) {
        .hero-section {
            padding: 50px 0;
        }
        .company-logo {
            max-height: 60px;
        }
    }

    /* Fancybox customizations */
    .fancybox__container {
        z-index: 1060;
        --fancybox-bg: rgb(24 24 27 / 88%);
    }

    .fancybox__toolbar {
        background: rgba(0, 0, 0, 0.3);
    }

    .fancybox__nav {
        --f-button-width: 50px;
        --f-button-height: 50px;
        --f-button-border-radius: 50%;
        --f-button-color: #fff;
        --f-button-hover-color: #fff;
        --f-button-bg: rgba(30, 30, 30, 0.6);
        --f-button-hover-bg: rgba(0, 0, 0, 0.8);
        --f-button-active-bg: rgba(0, 0, 0, 0.9);
    }

    /* Reply attachment syles */
    .attachment-thumb {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 4px;
        margin-right: 5px;
        cursor: pointer;
    }
    .attachment-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.attachment-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.attachment-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #eee;
}

.attachment-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.attachment-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.attachment-item:hover .attachment-remove {
    opacity: 1;
}

.attachment-name {
    font-size: 0.8rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align-last: -webkit-center;
}

.file-icon {
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    color: var(--primary-color);
}
.file-icon i {
    text-align: center;
    width: 100%;
    background-color: #f8f9fa;
    color: var(--primary-color);
    padding-top: 8px;
}
/* Add to your existing CSS */
.message-media {
    border-top: 1px dashed rgba(255,255,255,0.2);
    padding-top: 10px;
    margin-top: 10px;
}

.support-message .message-media {
    border-top-color: rgba(0,0,0,0.1);
}

.attachment-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.support-message .attachment-thumb {
    border-color: rgba(0,0,0,0.1);
}

.attachment-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.file-attachment {
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
    max-width: 200px;
}

.file-attachment:hover {
    background-color: #f8f9fa !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.customer-message .file-attachment {
    border-color: rgba(255,255,255,0.3);
}