/* 1. General Setup & Background */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    margin: 0;
    min-height: 100vh; /* Changed to min-height for scrolling on small phones */
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?q=80&w=2000') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

/* 2. The Green Blur Overlay */
body::before {
    content: "";
    position: fixed; /* Fixed so it stays put during scroll */
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(45, 65, 45, 0.5); 
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 1;
}

/* 3. Layout Container */
.main-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    padding: 40px 20px; /* Extra padding for mobile spacing */
}

.content-wrapper {
    display: flex;
    flex-direction: row; /* Horizontal on Desktop */
    align-items: center;
    justify-content: center;
    gap: 80px;
}

/* 4. Profile Section */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-icons {
    display: flex;
    gap: 30px;
}

.social-icons a {
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

/* 5. Text & Buttons */
.text-section {
    color: white;
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.text-section h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 0.9rem;
    letter-spacing: 4px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: block;
    padding: 16px 0;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: white;
    color: #2d412d;
}

/* 6. MOBILE RESPONSIVENESS (The Magic Part) */
@media (max-width: 850px) {
    .content-wrapper {
        flex-direction: column; /* Stack vertically on mobile */
        gap: 40px;
    }

    .image-circle {
        width: 220px; /* Smaller image for mobile screens */
        height: 220px;
    }

    .text-section h1 {
        font-size: 2.2rem; /* Scaled down text size */
    }

    .subtitle {
        font-size: 0.75rem;
        margin-bottom: 30px;
    }
    
    .text-section {
        min-width: unset; /* Allow it to shrink to screen width */
    }

    .btn {
        padding: 14px 0; /* Slightly smaller buttons for touch */
    }
}