/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(120deg, #f4f4f4, #e8f1f8);
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none; /* Hide default cursor */
}

#custom-cursor {
    width: 32px;
    height: 32px;
    position: absolute;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}


.bubble-background {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Header Section */
.header {
    text-align: center;
    margin-top: 50px;
}

.intro-animation i {
    font-size: 3rem;
    color: #007BFF;
    animation: bounce 2s infinite;
}

.intro-animation h1 {
    font-size: 2.5rem;
    color: #222;
    margin: 10px 0;
}

.intro-animation .highlight {
    color: #007BFF;
    font-weight: bold;
}

.intro-animation p {
    color: #555;
    font-size: 1.2rem;
}

/* Profile Card */
.profile-card {
    background: linear-gradient(145deg, #ffffff, #f1f4f9);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 400px;
    text-align: center;
    margin-top: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.profile-card .profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid #007BFF;
}

.profile-card h2 {
    font-size: 1.8rem;
    margin: 10px 0;
    color: #222;
}

.profile-card .info {
    font-size: 1rem;
    color: #555;
    margin: 15px 0;
}

.skills-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.skills-list li {
    font-size: 1.2rem;
    color: #007BFF;
}

.projects-list li a {
    text-decoration: none;
    color: inherit;
}

.projects-list li a:hover {
    text-decoration: none;
    color: #0056b3;
}


/* Hobbies Section */
.hobbies-section {
    text-align: center;
    margin: 50px 20px;
}

.hobbies-section h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
}

.hobbies-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 10px;
}

.hobby-card {
    background: linear-gradient(145deg, #ffffff, #f1f4f9);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hobby-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hobby-card i {
    font-size: 2rem;
    color: #007BFF;
    margin-bottom: 10px;
}

/* Projects Section */
.projects-section {
    text-align: center;
    margin: 50px 20px;
}

.projects-section h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
}

.projects-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.projects-list li {
    background: linear-gradient(145deg, #ffffff, #f1f4f9);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-list li:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: #007BFF;
    color: #fff;
}

.projects-list li i {
    color: inherit;
}

/* Footer */
.footer {
    margin: 30px 0;
    text-align: center;
    font-size: 1rem;
    color: #555;
}

.footer .heart-icon {
    color: red;
    animation: heartbeat 1.5s infinite;
}

/* Animations */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hobbies-grid {
        flex-wrap: wrap;
    }

    .profile-card {
        margin: 20px;
    }

    .projects-list {
        flex-direction: column;
        align-items: center;
    }

    .projects-list li {
        width: 90%;
    }

    .hobby-card {
        width: 120px;
    }
}


/* ... existing CSS */

/* Add dark overlay for hobby card backgrounds */
.hobby-card {
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.hobby-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hobby-card i, .hobby-card p {
    position: relative;
    z-index: 1;
}

/* Social Links */
.social-links {
    text-align: center;
    margin: 40px 0;
}

.social-links h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.social-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-list li a {
    text-decoration: none;
    color: #007BFF;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-list li a:hover {
    color: #0056b3;
}

/* Enhanced 3D Tilt Effect Smooth Transitions */
.hobby-card, .projects-list li {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.hobby-card:hover, .projects-list li:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); /* Amplified shadow for a stronger effect */
}


.header h1, .hobbies-section h3, .projects-section h3 {
    font-family: 'Montserrat', sans-serif;
}

.profile-card h2, .skills-list li, .footer p {
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}


/* Contact Section */
.contact-section {
    text-align: center;
    margin: 60px 20px;
}

.contact-section h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    resize: none;
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.05);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

.contact-form button {
    padding: 12px 20px;
    font-size: 1rem;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: bold;
}

.contact-form button:hover {
    background-color: #0056b3;
}

/* Custom MacBook-style Popup */
.popup-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
}

.popup-container.show {
    opacity: 1;
    transform: translateY(0);
}

.popup-icon {
    font-size: 24px;
    color: #007BFF;
}

.popup-message {
    font-size: 14px;
    color: #333;
}

.popup-close {
    margin-left: auto;
    cursor: pointer;
    font-size: 18px;
    color: #888;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #000;
}


/* Custom MacBook-style Scrollbar */
::-webkit-scrollbar {
    width: 8px;  /* Adjust the width */
}

::-webkit-scrollbar-track {
    background: #f1f1f1;  /* Light background */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #007aff, #00c6ff);  /* Cool gradient effect */
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #0051ff, #0095ff);  /* Darker when hovered */
}

/* Smooth Scrolling Effect */
html {
    scroll-behavior: smooth;
}


/* Floating Scroll Progress Bar (MacBook Style) */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #007aff, #00c6ff);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: width 0.2s ease-out;
}
