:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --text-color: #333333;
    --background-color: #ffffff;
    --card-background: #ffffff;
    --hover-color: #0056b3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    text-align: center;
}

.profile-section {
    margin-bottom: 2rem;
}

.profile-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.links-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.link-card {
    background-color: var(--card-background);
    padding: 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.link-card i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.link-card span {
    font-size: 1.1rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.social-links a {
    color: var(--primary-color);
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    color: var(--hover-color);
    transform: scale(1.15);
}

/* Quote Section */
.quote-section {
    margin: 2rem auto;
    max-width: 800px;
    padding: 0 1rem;
}

blockquote {
    font-style: italic;
    color: var(--primary-color);
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
    transition: opacity 0.5s ease-in-out;
}

blockquote p {
    margin-bottom: 0.5rem;
}

blockquote cite {
    display: block;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .links-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .link-card {
        padding: 1rem;
    }
}

/* Ensure no scrolling is needed */
@media (min-height: 800px) {
    .container {
        transform: scale(0.9);
    }
}

@media (max-height: 600px) {
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .links-section {
        gap: 0.8rem;
    }
    
    .link-card {
        padding: 0.8rem;
    }
}
