/* ══════════════════════════════════════════
   Uchit Technology palette
   orangered #ff4500 / #e84118 · navy #1a1a2e
   light bg #f4f7fb / #f8f9fc · text #5a6072
═══════════════════════════════════════════ */

/* Remove top gap issue */
body {
    margin: 0;
}

/* Fix banner spacing under navbar */
.resource-hero-fix {
    margin-top: 0;
}

/* ── BROCHURE CARDS ── */
.brochure-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e8edf3;
    border-top: 3px solid #ff4500;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 26, 46, 0.08);
    transition: all 0.3s ease;
}

.brochure-card:hover {
    transform: translateY(-10px);
    border-color: #ff4500;
    box-shadow: 0 20px 50px rgba(255, 69, 0, 0.18);
}

.brochure-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.brochure-content {
    padding: 22px;
}

.download-btn {
    display: inline-block;
    margin-top: 10px;
    color: #e84118;
    font-weight: 600;
    transition: color 0.2s ease;
}

.brochure-card:hover .download-btn {
    color: #c93510;
}

/* ── VIDEOS HERO ── */
.videos-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e, #2d2d52);
    border-bottom: 3px solid #ff4500;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.videos-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 90% at 100% 50%, rgba(255, 69, 0, 0.22) 0%, transparent 65%);
    z-index: 0;
}

.videos-hero .container {
    position: relative;
    z-index: 2;
}

.videos-hero h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.videos-hero h1,
.videos-hero p {
    color: #ffffff !important;
    position: relative;
    z-index: 2;
}

/* ── FEATURED ── */
.featured-video {
    padding: 60px 20px;
}

.featured-wrapper iframe {
    width: 100%;
    height: 500px;
    border-radius: 12px;
}

/* ── CATEGORY ── */
.video-categories {
    text-align: center;
    margin-bottom: 40px;
}

.video-categories button {
    margin: 10px;
    padding: 10px 20px;
    border: 1px solid #e8edf3;
    background: #f4f7fb;
    color: #1a1a2e;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-categories button:hover {
    border-color: #ff4500;
    color: #e84118;
}

.video-categories .active {
    background: #ff4500;
    border-color: #ff4500;
    color: #fff;
}

/* ── GRID ── */
.video-grid .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.video-card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-top: 3px solid #ff4500;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 5px 20px rgba(26, 26, 46, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(255, 69, 0, 0.15);
}

.video-card iframe {
    width: 100%;
    height: 200px;
    border-radius: 10px;
}

.video-card h4 {
    margin-top: 10px;
    color: #1a1a2e;
}

/* ── CTA ── */
.video-cta {
    position: relative;
    overflow: hidden;
    background: #1a1a2e;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.video-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 90% at 100% 50%, rgba(255, 69, 0, 0.2) 0%, transparent 65%);
    pointer-events: none;
}

.video-cta > * {
    position: relative;
    z-index: 1;
}

.video-cta h2,
.video-cta p {
    color: #ffffff !important;
}

.btn-demo {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: #ff4500;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
}

.btn-demo:hover {
    background: #c93510;
    color: #fff;
    transform: translateY(-2px);
}

/* ── RESPONSIVE (added) ── */
@media (max-width: 991px) {
    .video-grid .container { grid-template-columns: repeat(2, 1fr); }
    .featured-wrapper iframe { height: 380px; }
}
@media (max-width: 600px) {
    .video-grid .container { grid-template-columns: 1fr; }
    .featured-wrapper iframe { height: 240px; }
    .videos-hero h1 { font-size: 30px; }
}