/* Enhanced main.css with Typography and Animation Improvements */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

/* Enhanced Tagline Typography */
.tagline {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 500;
    letter-spacing: 1.5px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Image Container */
.image-container {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 20%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.8s ease 0.6s forwards;
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(52, 152, 219, 0.3);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

/* Enhanced Name Overlay Typography - SOLID BACKGROUND, NO BLUR */
.name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(44, 62, 80);
    /* SOLID COLOR - NO TRANSPARENCY */
    color: #ecf0f1;
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.name-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.image-container:hover .name-overlay {
    opacity: 1;
    transform: translateY(0);
}

.image-container:hover .name-overlay::before {
    transform: scaleX(1);
}

/* Enhanced Contact Links */
.contact-links {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.9s forwards;
}

.contact-icon {
    position: relative;
    color: #2c3e50;
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Enhanced hover effect with GREEN color */
.contact-icon:hover {
    color: #2ecc71;
    /* GREEN COLOR */
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(46, 204, 113, 0.3);
    /* GREEN GLOW */
    animation: float 0.8s ease-in-out infinite;
    transform: translateY(-5px) scale(1.1);
}

/* Individual timing for each icon to create a wave effect */
.contact-icon:nth-child(1) {
    animation-delay: 0s;
}

.contact-icon:nth-child(2) {
    animation-delay: 0.1s;
}

.contact-icon:nth-child(3) {
    animation-delay: 0.2s;
}

/* Enhanced floating animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(-5px) scale(1.1);
    }

    50% {
        transform: translateY(-12px) scale(1.1);
    }
}

/* Enhanced interactive tooltip */
.contact-icon::after {
    content: attr(title);
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: linear-gradient(145deg, #2c3e50, #34495e);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.contact-icon::before {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #2c3e50;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Show enhanced tooltip on hover */
.contact-icon:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.contact-icon:hover::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* Responsive design with enhanced typography */
@media (max-width: 768px) {
    .tagline {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        letter-spacing: 1px;
    }

    .image-container {
        width: 250px;
        height: 250px;
    }

    .contact-links {
        gap: 1.5rem;
    }

    .contact-icon {
        font-size: 1.5rem;
        padding: 0.6rem;
    }

    .name-overlay {
        font-size: 1rem;
        padding: 1.2rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .tagline {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
        letter-spacing: 0.5px;
    }

    .image-container {
        width: 200px;
        height: 200px;
    }

    .contact-links {
        gap: 1.2rem;
    }

    .contact-icon {
        font-size: 1.3rem;
        padding: 0.5rem;
    }

    .name-overlay {
        font-size: 0.9rem;
        padding: 1rem 0.6rem;
        letter-spacing: 0.3px;
    }
}