/* --- Variables & Setup --- */
:root {
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --primary-color: #4f46e5;
    /* Modern Indigo */
    --primary-hover: #4338ca;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --soft-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: #fff;
    padding-top: 70px;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
}

/* --- Utilities --- */
.section-padding {
    padding: 80px 0;
}

.bg-light-alt {
    background-color: var(--bg-light);
}

.text-primary {
    color: var(--primary-color) !important;
}

/* --- Glassmorphism Navbar --- */
.glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 90vh;
    background: radial-gradient(circle at 10% 20%, rgb(248, 250, 252) 0%, rgb(241, 245, 249) 90%);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-soft-primary {
    background-color: rgba(79, 70, 229, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* --- Skill Cards --- */
.skill-card {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--soft-shadow);
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-soft-success {
    background-color: rgba(16, 185, 129, 0.1);
}

.tech-tag {
    font-size: 0.85rem;
    background: #f1f5f9;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 500;
    color: #475569;
}

/* --- Project Cards --- */
.project-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--soft-shadow) !important;
}

.read-more-link {
    text-decoration: none;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    transition: gap 0.2s;
}

.read-more-link:hover {
    gap: 5px;
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* --- Profile Picture Styling --- */
.profile-pic {
    width: 300px;
    /* Fixed width */
    height: 300px;
    /* Fixed height */
    object-fit: cover;
    /* Prevents the image from looking squashed */
    border-radius: 50%;
    /* Makes it a circle */
    border: 6px solid white;
    /* White ring around photo */
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
    /* Soft shadow */
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.02);
    /* Slight zoom on hover */
}

/* Responsive adjustment for mobile phones */
@media (max-width: 768px) {
    .profile-pic {
        width: 200px;
        height: 200px;
    }
}

/* --- Additional Icon Colors --- */
.bg-soft-warning {
    background-color: rgba(245, 158, 11, 0.1);
    /* Orange/Yellow for DB */
}

.text-warning {
    color: #d97706 !important;
}

.bg-soft-info {
    background-color: rgba(6, 182, 212, 0.1);
    /* Cyan for Tools */
}

.text-info {
    color: #0891b2 !important;
}

.bg-soft-danger {
    background-color: rgba(239, 68, 68, 0.1);
    /* Red for Soft Skills */
}

.text-danger {
    color: #dc2626 !important;
}