.section { width: 100%; padding: 5vh 5vw; display: flex; flex-direction: column; justify-content: center; align-items: center; box-sizing: border-box; position: relative; } #banner { background: linear-gradient(to bottom right, #0f2027, #203a43, #2c5364); color: #ffffff; height: 100vh; text-align: center; } .content-fit { max-width: 1200px; width: 100%; padding: 0 1rem; } .title { font-size: 5vw; font-weight: 900; position: relative; } .title::before { content: attr(data-before); position: absolute; top: -3rem; left: 0; font-size: 2vw; color: #eef8ce; opacity: 0.6; } .decorate { position: absolute; pointer-events: none; } .decorate-maserati { width: 20vw; bottom: 0; right: 5vw; } .decorate-leaf { width: 30vw; bottom: 0; left: 0; } #intro { background-color: #f5f5f5; color: #111; padding: 8vh 5vw; } .number { font-size: 2vw; font-weight: 600; text-align: center; margin-bottom: 2rem; } .des .video-container { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; } .video-container img { max-width: 45%; height: auto; border-radius: 1rem; box-shadow: 0 0 20px rgba(0,0,0,0.2); } /* ✅ Responsive Media Queries */ @media screen and (max-width: 1024px) { .title { font-size: 8vw; } .title::before { font-size: 4vw; top: -2rem; } .number { font-size: 3.5vw; } .video-container img { max-width: 80%; } } @media screen and (max-width: 600px) { .title { font-size: 10vw; } .title::before { font-size: 5vw; top: -1.5rem; } .number { font-size: 4.5vw; padding: 0 1rem; } .decorate-maserati { width: 35vw; right: 2vw; } .decorate-leaf { width: 45vw; } .video-container img { max-width: 100%; } }