
* {
    font-family: 'Inter', sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #949ec8ff 0%, #7a00f3 100%);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.skill-bar {
    transition: width 2s ease-in-out;
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

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

.tech-tag {
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0.25rem;
    display: inline-block;
}

.project-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
}

.contact-item i {
    font-size: 1.25rem;
    margin-right: 1rem;
    color: #4F46E5;
}

/* Certificate Section Styles */
.certificate-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(229, 231, 235, 0.8);
    position: relative;
    overflow: hidden;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
}

.certificate-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(249, 250, 251, 1);
    border-radius: 50%;
    border: 2px solid rgba(229, 231, 235, 0.8);
}

.credential-id {
    font-size: 0.75rem;
    color: #6B7280;
    background: rgba(249, 250, 251, 1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.certificate-link {
    color: #3B82F6;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.875rem;
}

.certificate-link:hover {
    color: #1D4ED8;
}

.certificate-card:hover .certificate-logo {
    background: rgba(243, 244, 246, 1);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.certificate-card h3 {
    line-height: 1.4;
}

.certificate-card .text-gray-600 {
    font-weight: 600;
}

/* Responsive adjustments for certificates */
@media (max-width: 768px) {
    .certificate-card {
        padding: 1.25rem;
    }
    
    .certificate-logo {
        width: 50px;
        height: 50px;
    }
    
    .certificate-logo i {
        font-size: 1.5rem !important;
    }
}

.certificate-lin {
    color: #3B82F6;
    padding: 10px 15px 10px 0;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.875rem;
}

/* Classy profile photo frame */
.profile-frame {
    display: inline-block;
    border-radius: 9999px;
    padding: 6px; /* ring thickness */
    background: linear-gradient(135deg, rgba(240,147,251,0.95), rgba(122,0,243,0.95));
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.profile-frame:hover{ transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,23,42,0.12); }
.profile-photo {
    display: block;
    border-radius: 9999px;
    width: 450px;
    height: 490px;
    object-fit: cover;
    border: 6px solid rgba(255,255,255,0.95); /* inner white ring */
}
@media (max-width: 768px){
    .profile-photo { width: 160px; height: 160px; }
    .profile-frame { padding: 5px; }
}

/* Dark Mode Styles */
.dark-mode {
    background-color: #0f172a;
    color: #e2e8f0;
}

.dark-mode .bg-white {
    background-color: #1e293b !important;
}

.dark-mode .bg-gray-50 {
    background-color: #0f172a !important;
}

.dark-mode .text-gray-800 {
    color: #e2e8f0 !important;
}

.dark-mode .text-gray-600 {
    color: #94a3b8 !important;
}

.dark-mode .text-gray-500 {
    color: #64748b !important;
}

.dark-mode .project-card,
.dark-mode .certificate-card {
    background-color: #1e293b;
    border-color: #334155;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.dark-mode .certificate-logo {
    background-color: #334155;
    border-color: #475569;
}

.dark-mode .credential-id {
    background-color: #334155;
    border-color: #475569;
    color: #94a3b8;
}

.dark-mode .bg-gray-900 {
    background-color: #020617 !important;
}

/* Smooth transitions for theme switching */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Enhanced animations */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Improved mobile responsiveness */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-4xl {
        font-size: 2rem;
    }
    
    .py-16 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .py-20 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}
