html, body {
    /* Forces modern browsers to render text using crisp, subpixel smoothing */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ==========================================
   Sharp & Modern Hero Action Buttons
   ========================================== */
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 25px;
    justify-content: center; 
}

/* Base button properties for a crisp, flat architectural look */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    white-space: nowrap;
    box-sizing: border-box;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* The secret to a sharp look: Zero rounded corners */
    border-radius: 0px !important; 
}

/* Primary Button: Solid, commanding block color */
.btn-primary {
    background-color: #5c1929; /* Switched to your dark burgundy brand color for premium look */
    color: #ffffff !important;
    border: 2px solid #5c1929;
}

/* Primary Hover: Darkens slightly or swaps contrast sharply */
.btn-primary:hover {
    background-color: #3d1d24;
    border-color: #3d1d24;
    transform: translateY(-2px);
}

/* Secondary Button: Clean, hollow ghost button style */
.btn-secondary {
    background-color: transparent;
    color: #5c1929 !important; /* Changed to dark burgundy so it stands out sharply against the light banner image */
    border: 2px solid #5c1929;
}

/* Secondary Hover: Fills completely with dark burgundy, text flips to white */
.btn-secondary:hover {
    background-color: #5c1929;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Button Active Press State */
.btn-primary:active, .btn-secondary:active {
    transform: translateY(0);
}

/* Mobile responsive scaling */
@media screen and (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}

/* --- EXTRA COMPACT DNS CORE HERO BANNER --- */
.hero-banner {
    position: relative;
    background: #fff6f6 url('uploads/hero.jpg') no-repeat center center / cover;
    color: #3d1d24;
    padding: 55px 20px; /* Slightly increased padding to comfortably clear mobile button stacks */
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(253, 242, 242, 0.4); /* Bumped to 0.4 for strong legibility while remaining transparent */
    z-index: 1;
}

.hero-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.hero-container h1 {
    font-size: 2.3rem; 
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.2;
    color: white; /* High-contrast dark burgundy */
    letter-spacing: -0.02em;
    text-shadow: 0 2px 2px red;
}

.hero-container p {
    font-size: 1.1rem;
    margin-bottom: 24px; 
    color: #fff; /* Clean, dark text color for contrast */
    line-height: 1.5;
    font-weight: 600; 
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}