#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* 100% of viewport width */
    height: 100vh; /* 100% of viewport height */
    object-fit: cover; /* Ensures video covers area without stretching */
    z-index: -1; /* Pushes video behind all other content */
    
    /* Optional: Darkens the video so your text remains readable. 
       Adjust brightness between 0.1 (dark) to 1.0 (original brightness) */
    filter: brightness(0.3) contrast(1.1); 
}

/* Base Styles */
body {
    background-color: #121212;
    color: white;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px; /* Prevents card from touching screen edges on mobile */
}

.container {
    width: 100%;
    max-width: 550px; /* Limits width on desktop */
    text-align: center;
}

.profile-card {
    /* Using rgba: 30, 30, 30 is your old color. 0.6 is the transparency (60%) */
    background-color: rgba(30, 30, 30, 0.6); 
    
    /* This blurs the video behind the card */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle white border */
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.profile-card:hover {
    transform: scale(1.03);
    /* Becomes slightly less transparent on hover */
    background-color: rgba(30, 30, 30, 0.8); 
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

/* Flexbox Layout for Image and Text */
.profile-content {
    display: flex;
    flex-direction: row; /* Default: Horizontal */
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    margin-bottom: 20px;
}

.square-img {
    width: 120px;
    height: 150px;
    min-width: 120px; /* Prevents image from shrinking */
    object-fit: cover;
    border-radius: 8px;
}

.text-content h1 {
    margin: 0;
    font-size: 1.4rem;
}

.text-content h2 {
    margin: 4px 0;
    font-size: 0.95rem;
    color: #b0b0b0;
    font-weight: 400;
}

.bio {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #d1d1d1;
}

/* Buttons and Links */
.linkedin-btn {
    display: inline-block;
    background-color: #c00b14;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    width: auto;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.pill-btn {
    background-color: rgba(255, 255, 255, 0.05); /* Very light white tint */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px;
    border-radius: 50px;
    font-size: 0.95rem;
    word-break: break-all;
    transition: background-color 0.3s ease;
}

.pill-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* For Tablets and Phones (Width less than 600px) */
@media (max-width: 600px) {
    .profile-content {
        flex-direction: column; /* Stack vertically */
        align-items: center;    /* Center the image */
        text-align: center;     /* Center the text */
    }

    .square-img {
        width: 100px;
        height: 100px;
        min-width: 100px;
        margin-bottom: 10px;
    }

    .text-content h1 {
        font-size: 1.25rem;
    }

    .linkedin-btn {
        width: 100%; /* Full width button on mobile */
        box-sizing: border-box;
    }
       .container {
    width: 100%;
    max-width: 550px; /* Limits width on desktop */
    text-align: center;
    margin-top: 100px;
}
}

/* For very small screens (iPhone SE, etc.) */
@media (max-width: 380px) {
    .pill-btn {
        font-size: 0.85rem;
        padding: 12px;
    }
    .container {
    width: 100%;
    max-width: 550px; /* Limits width on desktop */
    text-align: center;
    margin-top: 100px;
}
}