/* ===========================
   GLOBAL STYLES
=========================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f7f7;
}

/* ===========================
   NAVBAR
=========================== */
header {
    background: #b32929;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 24px;
}

#section {
    padding-top: 85px;
}

/* ===========================
   VIDEOS SECTION
=========================== */
.videos {
    display: flex;
    white-space: nowrap;
    overflow-x: auto;
    padding: 20px 0;
    background: white;
    gap: 10px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
  #popup {
    animation: fadeInOut 3s ease-in-out;
  }

  @keyframes fadeInOut {
    0% { opacity: 0; transform: scale(0.9) translate(-50%, -50%); }
    10% { opacity: 1; transform: scale(1) translate(-50%, -50%); }
    90% { opacity: 1; transform: scale(1) translate(-50%, -50%); }
    100% { opacity: 0; transform: scale(0.9) translate(-50%, -50%); }
  }

.videos::-webkit-scrollbar {
    display: none;
}

.videos video {
    width: 300px;
    height: 400px; 
     object-fit: cover; 
    border-radius: 6px;
    transition: transform 0.3s;
    cursor: pointer;
    pointer-events: auto;
    outline: none;
    margin: 0 10px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.videos video::-webkit-media-controls {
    display: none !important;
}

.videos video:hover::-webkit-media-controls {
    display: block !important;
}

.videos video:hover {
    transform: scale(1.02);
}

/* ===========================
   LAYOUT CONTAINER
=========================== */
.container1 {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.left,
.right {
    flex: 1;
    min-width: 300px;
    padding: 15px;
}

.box {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
}

/* ===========================
   FEEDBACK
=========================== */
.left .box {
    height: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#feedbackList {
    max-height: 400px;
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.item {
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 10px;
}

.item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

/* ===========================
   FORM ELEMENTS
=========================== */
h3 {
    margin-bottom: 15px;
}

input,
textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.stars span {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    user-select: none;
    margin-bottom: 10px;
}

.stars .selected {
    color: gold;
}

button {
    width: 100%;
    padding: 10px;
    background: #222;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* ===========================
   FOOTER (RESPONSIVE)
=========================== */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .main-content, .videos {
        margin-top: 20px; /* Adjust as needed for navbar height */
      }
}
