/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #2c3e50;
    background-color: #f8fafc;
    scroll-behavior: smooth;
    font-size: 21px;
}

/* Navbar active link */
.navbar-nav .nav-link.active {
    color: #0d6efd !important;
    font-weight: 600;
    border-bottom: 2px solid #0d6efd;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #f1f9ff 0%, #e6f2fa 100%);
    padding: 80px 0;
    border-radius: 0 0 50px 50px;
}

.profile-img {
    width: 900px;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    border: 5px solid white;
    box-shadow: 0 20px 30px -10px rgba(0, 80, 150, 0.3);
    transition: transform 0.3s;
}

.profile-img:hover {
    transform: scale(1.02);
}

/* Cards and timeline */
.edu-card,
.job-card,
.research-card {
    background: white;
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.25s;
    border-left: 5px solid #0d6efd;
    margin-bottom: 1.5rem;
}

.edu-card:hover,
.job-card:hover,
.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.1);
}

/* Social Service Cards */
.social-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(13, 110, 253, 0.3) !important;
}

/* Timeline design for education */
.timeline-dot {
    width: 12px;
    height: 12px;
    background: #0d6efd;
    border-radius: 50%;
    position: absolute;
    left: -6px;
    top: 10px;
}

/* Skills progress bars */
.progress {
    height: 10px;
    border-radius: 10px;
}

.progress-bar {
    background-color: #0d6efd;
}

/* Gallery grid */
.gallery-item {
    cursor: pointer;
    transition: 0.2s;
}

.gallery-item:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Back to top button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    z-index: 99;
    background: #0d6efd;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#back-to-top:hover {
    background: #0b5ed7;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
        text-align: center;
    }

    .profile-img {
        width: 100%;
        height: 300px;
        border-radius: 15px;
    }
}