.inner-container {
    max-width: 1100px;
    margin: auto;
    background: #F8F8F8;
    border-radius: 10px;
}
/** cover image */
.cover-image {
    width: 100%;
    /* height: 350px; */
    position: relative;
    border-radius: 10px;
}

.cover-image img {
    max-width: 100%;
    /* height: calc(100vw / 3); */
    height: auto;
    max-height: 400px;
    object-fit: fill;
}

/* company logo */
.company-logo-container {
    bottom: -135px;
}

.company-logo-img {
    width: 150px;
    height: 150px;
}

/** event details */
.event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0px 20px;
}

.left-panel {
    width: 100%;
    max-width: 400px;
    background: white;
    padding: 15px;
    border-radius: 10px;
}

.right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.description-container {
    display: flex;
    gap: 20px;
}

.description {
    flex: 1;
}

.multiline-ellipsis {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    height: 50px;
}

.start_time {
    font-size: 22px;
}

.info-panel {
    margin-left: 100px;
}

.upgrade-modal-title {
    color: rgb(21, 47, 176);
    font-weight: 700;
    text-transform: UPPERCASE;
    text-align: right;
}

.modal-bookmark {
    background-color: rgb(252, 93, 3);
    position: absolute;
    left: -71px;
    top: -32px;
    rotate: -45deg;
    padding-bottom: 10px !important;
    color: white;
    padding-left: 58px;
    padding-right: 100px;
    padding-top: 60px;
    font-size: 12px;
}

.text-ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.bg-light {
    background-color: rgb(245, 245, 245);
}

.user-item {
    flex: 1;
}

.user-icon {
    height: 34px;
    width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-icon-tag {
    font-size: 16px;
}

.modal-body {
    overflow: hidden;
}

/** navbar */
.navbar {
    background-color: #fff;
    padding: 10px 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.company-name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: larger;
}

.read-more-custom {
    display: none;
}

@media screen and (min-width: 820px) {
    .read-more-custom {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .left-panel {
        width: 100%; /* Full width for small screens */
        max-width: none;
        min-width: none;
        /* padding: 10px; */
    }
    .company-logo-container {
        bottom: -120px;
    }

    .company-logo-img {
        width: 110px;
        height: 110px;
    }

    .about-text {
        max-height: 80px;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        position: relative;
    }

    .about-text.expanded {
        max-height: 1000px;
    }

    .read-more-custom {
        display: inline-block;
    }

    .fade-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 30px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #f8f9fa);
        display: block;
        transition: opacity 0.3s ease-in-out;
    }

    .about-text.expanded .fade-overlay {
        opacity: 0;
        pointer-events: none;
    }

    .read-more-btn {
        display: inline-block;
        font-weight: 600;
        color: #007bff;
        text-decoration: none;
        cursor: pointer;
        transition: color 0.2s ease-in-out;
    }

    .read-more-btn:hover {
        color: #0056b3;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        max-width: 255px; 
    }

    .company-name {
        font-size: smaller;
    }
}

@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding: 10px;
    }
}

@media (max-width: 876px) {
    .info-panel {
        margin-left: 0;
        padding-left: 0 !important;
    }
}

@media screen and (min-width: 820px) {
    .read-more-custom {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 10px;
    }

    .main-heading3 {
        font-size: 30px;
    }

    .main-heading1 {
        font-size: 20px;
    }

    .start_time {
        font-size: 16px;
    }

    .t-container {
        gap: 30px;
    }

    .contact-form-container {
        border: none !important;
    }

    .container {
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .company-logo-container {
        bottom: -120px; /* Adjust position for extra small screens */
    }

    .company-logo-img {
        width: 100px;  /* Reduce logo size */
        height: 100px;
    }
}