.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    gap: 50px;
}

.hero-content {
    flex: 1.2;
}

.greeting {
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--vivid-azure);
    font-weight: 700;
    margin-bottom: 1rem;
}

.name {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.highlight { 
    color: var(--vivid-azure); 
}

.description {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 520px;
    margin-bottom: 2.5rem;
}

/* CTA & Socials */
.cta-group {
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-primary {
    background: var(--vivid-azure);
    color: white;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #0b5a87;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 106, 159, 0.3);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1); 
    opacity: 0.7;
    transition: 0.3s;
}

.social-icons img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.hero-image {
    flex: 1.4;
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1000px; 
}

.blog-preview-link {
    display: block;
    width: 100%;
    max-width: 550px;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    z-index: 1;
}

.image-inner-container {
    position: relative;
    width: 100%;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(13, 106, 159, 0.2));
    overflow: hidden;
}

/* ✅ FIX: ensure full image visibility */
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

/* ✅ FIX: smaller, non-blocking overlay */
.blog-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: auto;
    max-width: 75%;

    background: rgba(15, 15, 15, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    padding: 14px 16px;
    border-radius: 10px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    transition: 0.4s ease;
}

.view-tag {
    color: var(--vivid-azure);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.blog-title-overlay {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.3;
}

/* ✅ FIX: better glow positioning */
.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, var(--vivid-azure) 0%, transparent 70%);
    opacity: 0.12;
    z-index: -1;
    filter: blur(50px);
    transition: opacity 0.5s ease;
}

/* ✅ FIX: smoother hover */
.blog-preview-link:hover {
    transform: translateY(-10px) rotateX(4deg) rotateY(-1deg);
}

.blog-preview-link:hover .blog-overlay {
    border-color: var(--vivid-azure);
    background: rgba(10, 10, 10, 0.85);
}

.blog-preview-link:hover img {
    box-shadow: 0 40px 100px rgba(13, 106, 159, 0.3);
    filter: brightness(1.1);
}

.blog-preview-link:hover .glow-effect {
    opacity: 0.4;
}

/* ✅ FIX: gradient moved to TOP so credentials are visible */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, transparent 60%, rgba(10, 10, 10, 0.6));
    pointer-events: none;
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        flex-direction: column; 
        text-align: center;
        padding-top: 80px;
        gap: 60px;
    }

    .hero-content { order: 1; }
    .hero-image { order: 2; width: 100%; }

    .blog-preview-link {
        max-width: 450px;
        margin: 0 auto;
    }

    .blog-title-overlay {
        font-size: 1.1rem;
    }
}