
:root {
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.35);
    --text-light: #f5f5f5;
    --accent: #f7c04a;
    --accent-dark: #f5733b;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--text-light);
    letter-spacing: 0.3px;
    position: relative;
}

.video-background {
    position: fixed; 
    top: 0;
    left: 0;
    min-width: 100%; 
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2; 
    object-fit: cover; 
    overflow: hidden;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(120deg, rgba(8, 15, 40, 0.55), rgba(28, 20, 45, 0.35));
    z-index: -1; 
}

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

.hero-main {
    justify-content: flex-start;
    padding-top: clamp(16rem, 8vh, 4.5rem);
    padding-bottom: clamp(3rem, 9vh, 5rem);
    gap: 2rem;
}

.cards-row {
    margin-top: 0;
}

.container {
    position: relative; 
    z-index: 1;
}

.card-link {
    text-decoration: none; 
    color: inherit; 
}

.intro-box,
.box-item,
.btn-glass,
.hero-footer {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.hero-logo-wrap {
    max-width: 960px;
    margin: 1.5rem auto 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.hero-logo {
    width: min(32vw, 140px);
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.3));
}

.hero-brand {
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.hero-brand .dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(247, 192, 74, 0.7);
}

.hero-tagline {
    margin: 0;
    font-family: "Great Vibes", "Poppins", cursive;
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: #fff;
    letter-spacing: 1px;
    position: relative;
    display: block;
    padding: 0.35rem 0.5rem;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.hero-tagline::before,
.hero-tagline::after {
    content: "“";
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.hero-tagline::after {
    content: "”";
    right: -0.5rem;
}

.hero-tagline::before {
    left: -0.5rem;
}

.intro-box {
    max-width: 780px;
    padding: 2rem;
    line-height: 1.6;
}

.btn-glass {
    color: #171717;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.6rem 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-glass:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    color: #171717;
}

.box-item {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
    cursor: pointer;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top-color: rgba(255, 255, 255, 0.4);
    border-left-color: rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    padding: 1.25rem 1rem;
    width: min(100%, 16rem);
    margin-left: auto;
    margin-right: auto;
}

.box-item:hover {
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.4), 0 0 35px rgba(244, 194, 96, 0.35);
    border-color: rgba(255, 255, 255, 0.4);
    border-top-color: rgba(255, 255, 255, 0.75);
    border-left-color: rgba(255, 255, 255, 0.55);
}

.box-item::before,
.box-item::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.box-item::before {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    transform: translateY(-35%);
}

.box-item::after {
    background: linear-gradient(135deg, rgba(247, 192, 74, 0.14), rgba(245, 115, 59, 0.08));
}

.box-item:hover::before {
    opacity: 0.6;
    transform: translateY(-8%);
}

.box-item:hover::after {
    opacity: 1;
}

.box-item .card-body {
    position: relative;
    z-index: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box-item .card-body i,
.box-item .card-title, 
.box-item .card-text {
    color: var(--text-light) !important;
}

.box-item .card-body i {
    color: transparent;
    background: linear-gradient(140deg, #b8860b, #d4af37 45%, #f7d47d 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.box-item .card-title {
    margin-bottom: 0.35rem;
}

.box-item .card-text {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.hero-footer {
    max-width: 360px;
    margin: 2rem auto;
    padding: 0.75rem 1.25rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.85;
}

@media (max-width: 767.98px) {
    header.hero-header {
        margin: 1.5rem;
        padding: 1.25rem;
    }

    .hero-main {
        padding-top: clamp(6rem, 8vh, 4.5rem);
    }

    .intro-box {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .hero-footer {
        margin: 1.5rem;
    }
}
