/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50 !important;
    text-decoration: none;
    outline: none;
    box-shadow: none;
    border: none;
}

.navbar-brand:hover,
.navbar-brand:focus,
.navbar-brand:active {
    color: #007bff !important;
    text-decoration: none;
    outline: none;
    box-shadow: none;
    border: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #2c3e50 !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #007bff !important;
    background-color: rgba(0, 123, 255, 0.1);
}

/* Theme Toggle Button */
.theme-toggle {
    margin-left: 1rem;
}

.theme-toggle-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

.theme-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.theme-toggle-btn:active {
    transform: translateY(0);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    pointer-events: auto;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23f8f9fa" points="0,1000 1000,0 1000,1000"/></svg>');
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

.hero-content * {
    pointer-events: auto !important;
    position: relative;
    z-index: inherit;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Typing Animation */
.typing-text {
    border-right: none;
}

.typing-cursor {
    display: inline-block;
    background-color: #007bff;
    margin-left: 0.1rem;
    width: 3px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { background-color: transparent; }
    50% { background-color: #007bff; }
    100% { background-color: transparent; }
}

.hero-buttons {
    margin-bottom: 2rem;
    pointer-events: auto !important;
    z-index: 15;
    position: relative;
}

.hero-buttons .btn {
    pointer-events: auto !important;
    z-index: 16;
    position: relative;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    pointer-events: auto !important;
    z-index: 10;
    position: relative;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-outline-primary {
    border: 2px solid #007bff;
    color: #007bff;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    pointer-events: auto !important;
    z-index: 10;
    position: relative;
    cursor: pointer;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.social-links {
    display: flex;
    gap: 1rem;
    pointer-events: auto !important;
    z-index: 15;
    position: relative;
}

.social-links .social-link {
    pointer-events: auto !important;
    z-index: 16;
    position: relative;
    display: inline-flex;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    pointer-events: auto !important;
    z-index: 10;
    position: relative;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: white;
}

.hero-image {
    text-align: center;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.profile-img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border: 8px solid #007bff;
    box-shadow: 0 10px 40px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 123, 255, 0.4);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 2px;
}

/* About Section */
.about-content h3 {
    color: #2c3e50;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
}

.about-list strong {
    color: #007bff;
    min-width: 100px;
    flex-shrink: 0;
    margin-right: 10px;
}

/* Skills Progress */
.skills-progress h4 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

/* Interactive Skill Meters */
.skill-meter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-around;
    margin-top: 2rem;
}

.skill-meter {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.skill-meter:hover {
    transform: translateY(-5px) scale(1.05);
}

.circular-progress {
    transform: rotate(-90deg);
    filter: drop-shadow(0 4px 8px rgba(0, 123, 255, 0.3));
    transition: filter 0.3s ease;
}

.skill-meter:hover .circular-progress {
    filter: drop-shadow(0 6px 12px rgba(0, 123, 255, 0.4));
}

.progress-bg {
    stroke: #e9ecef;
    stroke-linecap: round;
}

.progress-fill {
    stroke: #007bff;
    stroke-linecap: round;
    transition: stroke-dashoffset 2s cubic-bezier(0.65, 0, 0.35, 1);
}

.skill-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: #007bff;
    transition: color 0.3s ease;
}

.skill-meter:hover .skill-percent {
    color: #0056b3;
}

.skill-label {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    text-align: center;
    transition: color 0.3s ease;
}

.skill-meter:hover .skill-label {
    color: #495057;
}

.progress-item {
    margin-bottom: 1.5rem;
}

.progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 40px;
}

.timeline-marker {
    position: absolute;
    left: -47px;
    top: 0;
    width: 16px;
    height: 16px;
    background: #007bff;
    border: 4px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

.timeline-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.timeline-content h4 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content h5 {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.timeline-content li {
    margin-bottom: 0.5rem;
    color: #6c757d;
}

/* Timeline Header with Logo */
.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.timeline-title {
    flex: 1;
}

.timeline-logo {
    flex-shrink: 0;
    margin-left: 1rem;
}

.company-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Icon-based Timeline Logos */
.certification-logo,
.startup-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.certification-logo {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.startup-logo {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.certification-logo:hover,
.startup-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Projects Section */
.project-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-content h4 {
    color: #2c3e50;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Project Placeholder */
.project-placeholder {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
}

.project-card:hover .project-placeholder {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

/* Projects CTA Section */
.projects-cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-top: 3rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    color: #333;
    text-align: center;
}

.projects-cta-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.projects-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.3);
}

.projects-cta-icon i {
    font-size: 2rem;
    color: white;
}

.projects-cta-section h4 {
    color: #2c3e50 !important;
    font-weight: 600;
    font-size: 1.75rem;
    display: block;
    visibility: visible;
}

.projects-cta-section p {
    color: #6c757d !important;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    display: block;
    visibility: visible;
}

.projects-cta-section strong {
    color: #495057 !important;
    font-weight: 600;
}

.projects-cta-buttons {
    margin-bottom: 2rem;
}

.projects-stats {
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.stat-item {
    padding: 0 1rem;
}

.stat-number {
    color: #007bff;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ensure text visibility in projects CTA */
.projects-cta-section * {
    z-index: 1;
    position: relative;
}

.projects-cta-section .text-muted {
    color: #6c757d !important;
}

/* Certifications Section */
.certification-category {
    margin-bottom: 3rem;
}

.category-title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
    display: inline-block;
}

.certification-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid #007bff;
    position: relative;
    overflow: hidden;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.certification-card:hover::before {
    transform: scaleX(1);
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-left-color: #0056b3;
}

.certification-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.cert-logo {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cert-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.cert-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.cert-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.cert-info {
    flex: 1;
}

.cert-info h4 {
    color: #2c3e50;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.cert-info h5 {
    color: #007bff;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.cert-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.cert-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.skill-badge {
    background: #f8f9fa;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.cert-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cert-actions .btn {
    font-size: 0.85rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.cert-actions .btn:hover {
    transform: translateY(-2px);
}

/* Skills Section */
.skill-category {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.skill-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.3);
}

.skill-icon i {
    font-size: 2rem;
    color: white;
}

.skill-category h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.skill-list {
    list-style: none;
    padding: 0;
}

.skill-list li {
    padding: 0.5rem 0;
    color: #6c757d;
    font-weight: 500;
    border-bottom: 1px solid #f8f9fa;
}

.skill-list li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact-content {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
}

.contact-item {
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.contact-item h5 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #007bff;
}

/* Background Sections */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Footer */
footer {
    background-color: #2c3e50 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .profile-img {
        width: 250px;
        height: 250px;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-marker {
        left: -37px;
    }
    
    .timeline-item {
        padding-left: 30px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .skill-meter-container {
        gap: 1.5rem;
    }
    
    .skill-meter .circular-progress {
        width: 100px;
        height: 100px;
    }
    
    .skill-meter .skill-percent {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.25rem;
    }
    
    .profile-img {
        width: 200px;
        height: 200px;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .contact-content {
        padding: 2rem;
    }
    
    .skill-category {
        padding: 2rem 1.5rem;
    }
    
    .skill-meter-container {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .skill-meter .circular-progress {
        width: 80px;
        height: 80px;
    }
    
    .skill-meter .skill-percent {
        font-size: 0.9rem;
    }
    
    .skill-meter .skill-label {
        font-size: 0.8rem;
    }
    
    .certification-card {
        padding: 1.5rem;
    }
    
    .cert-logo {
        width: 50px;
        height: 50px;
    }
    
    .cert-info h4 {
        font-size: 1.1rem;
    }
    
    .cert-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cert-actions .btn {
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
}

/* Animation delays for AOS */
[data-aos] {
    pointer-events: none;
}
[data-aos].aos-animate {
    pointer-events: auto;
}

/* Override AOS for interactive elements */
[data-aos] .btn,
[data-aos] .social-link,
[data-aos] .hero-buttons,
[data-aos] .social-links,
.btn,
.social-link,
.hero-buttons,
.social-links {
    pointer-events: auto !important;
}

/* Ensure proper element selection in hero section */
.hero-section .container,
.hero-section .row,
.hero-section .col-lg-6 {
    pointer-events: auto;
    position: relative;
}

.hero-section h1,
.hero-section h2,
.hero-section p,
.hero-section .btn,
.hero-section .social-link {
    pointer-events: auto !important;
    position: relative;
    z-index: 20;
}

/* Dark Theme Styles */
.dark-theme {
    background-color: #0a0a0b !important;
    color: #e4e6ea !important;
}

/* Dark Theme - Navigation */
.dark-theme .navbar {
    background-color: rgba(26, 26, 31, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.dark-theme .navbar-scrolled {
    background-color: rgba(26, 26, 31, 0.98) !important;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.dark-theme .navbar-brand {
    color: #e4e6ea !important;
    outline: none;
    box-shadow: none;
    border: none;
}

.dark-theme .navbar-brand:hover,
.dark-theme .navbar-brand:focus,
.dark-theme .navbar-brand:active {
    color: #58a6ff !important;
    outline: none;
    box-shadow: none;
    border: none;
}

.dark-theme .navbar-nav .nav-link {
    color: #b0b3b8 !important;
}

.dark-theme .navbar-nav .nav-link:hover,
.dark-theme .navbar-nav .nav-link.active {
    color: #58a6ff !important;
    background-color: rgba(88, 166, 255, 0.1);
}

.dark-theme .theme-toggle-btn {
    background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
    box-shadow: 0 2px 10px rgba(88, 166, 255, 0.3);
}

.dark-theme .theme-toggle-btn:hover {
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.4);
}

/* Dark Theme - Hero Section */
.dark-theme .hero-section {
    background: linear-gradient(135deg, #161b22 0%, #0d1117 100%);
}

.dark-theme .hero-content h1 {
    color: #f0f6fc;
}

.dark-theme .hero-content h2 {
    color: #58a6ff;
}

.dark-theme .typing-cursor {
    background-color: #58a6ff;
}

@keyframes blink-dark {
    0% { background-color: transparent; }
    50% { background-color: #58a6ff; }
    100% { background-color: transparent; }
}

.dark-theme .typing-cursor {
    animation: blink-dark 1s infinite;
}

.dark-theme .btn-primary {
    background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
}

.dark-theme .btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(88, 166, 255, 0.4);
}

.dark-theme .btn-outline-primary {
    border-color: #58a6ff;
    color: #58a6ff;
}

.dark-theme .btn-outline-primary:hover {
    background-color: #58a6ff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
}

.dark-theme .social-link {
    background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
    pointer-events: auto !important;
    z-index: 10;
    position: relative;
}

.dark-theme .social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(88, 166, 255, 0.4);
}

.dark-theme .profile-img {
    border-color: #58a6ff;
    box-shadow: 0 10px 40px rgba(88, 166, 255, 0.3);
}

.dark-theme .profile-img:hover {
    box-shadow: 0 15px 50px rgba(88, 166, 255, 0.4);
}

/* Dark Theme - Sections */
.dark-theme .section-title {
    color: #f0f6fc;
}

.dark-theme .section-title::after {
    background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
}

.dark-theme .bg-light {
    background-color: #161b22 !important;
}

/* Dark Theme - About Section */
.dark-theme .about-content h3 {
    color: #f0f6fc;
}

.dark-theme .about-list li {
    border-bottom-color: #30363d;
}

.dark-theme .about-list strong {
    color: #58a6ff;
}

.dark-theme .skills-progress h4 {
    color: #f0f6fc;
}

/* Dark Theme - Skill Meters */
.dark-theme .progress-bg {
    stroke: #30363d;
}

.dark-theme .progress-fill {
    stroke: #58a6ff;
}

.dark-theme .skill-percent {
    color: #58a6ff;
}

.dark-theme .skill-meter:hover .skill-percent {
    color: #1f6feb;
}

.dark-theme .skill-label {
    color: #8b949e;
}

.dark-theme .skill-meter:hover .skill-label {
    color: #e6edf3;
}

.dark-theme .circular-progress {
    filter: drop-shadow(0 4px 8px rgba(88, 166, 255, 0.3));
}

.dark-theme .skill-meter:hover .circular-progress {
    filter: drop-shadow(0 6px 12px rgba(88, 166, 255, 0.4));
}

.dark-theme .progress {
    background-color: #30363d;
}

.dark-theme .progress-bar {
    background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
}

/* Dark Theme - Timeline */
.dark-theme .timeline::before {
    background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
}

.dark-theme .timeline-marker {
    background: #58a6ff;
    border-color: #0d1117;
    box-shadow: 0 2px 10px rgba(88, 166, 255, 0.3);
}

.dark-theme .timeline-content {
    background: #21262d;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
}

.dark-theme .timeline-content:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.dark-theme .timeline-content h4 {
    color: #f0f6fc;
}

.dark-theme .timeline-content h5 {
    color: #58a6ff;
}

.dark-theme .timeline-content li {
    color: #8b949e;
}

.dark-theme .company-logo {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-theme .company-logo:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.dark-theme .certification-logo {
    background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-theme .startup-logo {
    background: linear-gradient(135deg, #3fb950 0%, #238636 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-theme .certification-logo:hover,
.dark-theme .startup-logo:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Dark Theme - Projects */
.dark-theme .project-card {
    background: #21262d;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
}

.dark-theme .project-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.dark-theme .project-overlay {
    background: rgba(88, 166, 255, 0.9);
}

.dark-theme .project-content h4 {
    color: #f0f6fc;
}

.dark-theme .project-content p {
    color: #8b949e;
}

.dark-theme .tech-tag {
    background: rgba(88, 166, 255, 0.1);
    color: #58a6ff;
}

/* Dark Theme - Project Placeholder */
.dark-theme .project-placeholder {
    background: linear-gradient(135deg, #21262d 0%, #161b22 100%);
}

.dark-theme .project-card:hover .project-placeholder {
    background: linear-gradient(135deg, #161b22 0%, #0d1117 100%);
}

/* Dark Theme - Projects CTA Section */
.dark-theme .projects-cta-section {
    background: linear-gradient(135deg, #21262d 0%, #161b22 100%);
    border-color: #30363d;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    color: #f0f6fc;
}

.dark-theme .projects-cta-section:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.dark-theme .projects-cta-icon {
    background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
    box-shadow: 0 8px 30px rgba(88, 166, 255, 0.3);
}

.dark-theme .projects-cta-section h4 {
    color: #f0f6fc !important;
    display: block;
    visibility: visible;
}

.dark-theme .projects-cta-section p {
    color: #8b949e !important;
    display: block;
    visibility: visible;
}

.dark-theme .projects-cta-section strong {
    color: #e6edf3 !important;
    font-weight: 600;
}

.dark-theme .projects-stats {
    border-top-color: #30363d;
}

.dark-theme .stat-number {
    color: #58a6ff;
}

.dark-theme .stat-label {
    color: #8b949e;
}

/* Dark theme text visibility fixes */
.dark-theme .projects-cta-section .text-muted {
    color: #8b949e !important;
}

.dark-theme .projects-cta-section * {
    z-index: 1;
    position: relative;
}

/* Dark Theme - Certifications */
.dark-theme .category-title {
    color: #f0f6fc;
    border-bottom-color: #58a6ff;
}

.dark-theme .certification-card {
    background: #21262d;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
    border-left-color: #58a6ff;
}

.dark-theme .certification-card::before {
    background: linear-gradient(90deg, #58a6ff, #1f6feb);
}

.dark-theme .certification-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-left-color: #1f6feb;
}

.dark-theme .cert-logo {
    background: #30363d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-theme .cert-logo:hover {
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
}

.dark-theme .cert-icon {
    background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
}

.dark-theme .cert-info h4 {
    color: #f0f6fc;
}

.dark-theme .cert-info h5 {
    color: #58a6ff;
}

.dark-theme .cert-date,
.dark-theme .cert-description {
    color: #8b949e;
}

.dark-theme .skill-badge {
    background: #30363d;
    color: #e6edf3;
    border-color: #30363d;
}

.dark-theme .skill-badge:hover {
    background: #58a6ff;
    color: white;
    border-color: #58a6ff;
}

.dark-theme .cert-actions .btn-outline-primary {
    border-color: #58a6ff;
    color: #58a6ff;
}

.dark-theme .cert-actions .btn-outline-primary:hover {
    background-color: #58a6ff;
    border-color: #58a6ff;
    color: white;
}

.dark-theme .cert-actions .btn-outline-secondary {
    border-color: #8b949e;
    color: #8b949e;
}

.dark-theme .cert-actions .btn-outline-secondary:hover {
    background-color: #8b949e;
    border-color: #8b949e;
    color: #0d1117;
}

/* Dark Theme - Skills */
.dark-theme .skill-category {
    background: #21262d;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
}

.dark-theme .skill-category:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.dark-theme .skill-icon {
    background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
    box-shadow: 0 5px 20px rgba(88, 166, 255, 0.3);
}

.dark-theme .skill-category h4 {
    color: #f0f6fc;
}

.dark-theme .skill-list li {
    color: #8b949e;
    border-bottom-color: #30363d;
}

/* Dark Theme - Contact */
.dark-theme .contact-content {
    background: #21262d;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.4);
}

.dark-theme .contact-item:hover {
    background: #30363d;
}

.dark-theme .contact-item i {
    color: #58a6ff;
}

.dark-theme .contact-item h5 {
    color: #f0f6fc;
}

.dark-theme .contact-item a {
    color: #8b949e;
}

.dark-theme .contact-item a:hover {
    color: #58a6ff;
}

/* Dark Theme - Footer */
.dark-theme footer {
    background-color: #0d1117 !important;
}

/* Dark Theme - Responsive */
@media (max-width: 768px) {
    .dark-theme .theme-toggle {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* Profile Links Grid */
.profiles-grid {
    margin: 2rem 0;
}

.profile-link {
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    color: inherit;
}

.profile-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.profile-logo-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.profile-logo-container img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 20px;
}

/* Specific styling for logos that need better contrast */
.google img {
    background: white;
    padding: 10px;
    border-radius: 15px;
}

.profile-link:hover .profile-logo-container {
    transform: scale(1.1);
}

.profile-link h5 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.profile-link p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Platform-specific colors */
.github {
    background: linear-gradient(135deg, #333 0%, #24292e 100%);
}

.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.hackerrank {
    background: linear-gradient(135deg, #00ea64 0%, #00c853 100%);
}

.credly {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.cisco {
    background: linear-gradient(135deg, #1ba0d7 0%, #0d5ba6 100%);
}

.mongodb {
    background: linear-gradient(135deg, #4db33d 0%, #3f9a2f 100%);
}

.coursera {
    background: linear-gradient(135deg, #0056d3 0%, #003d99 100%);
}

.ibm {
    background: linear-gradient(135deg, #1261ff 0%, #0f4ccc 100%);
}

.google {
    background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
}

.email {
    background: linear-gradient(135deg, #ea4335 0%, #d23f31 100%);
}

.resume {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

/* Dark Theme - Profile Links */
.dark-theme .profile-link {
    background: #21262d;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.dark-theme .profile-link:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.dark-theme .profile-link h5 {
    color: #f0f6fc;
}

.dark-theme .profile-link p {
    color: #8b949e;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-logo-container {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .profile-logo-container img {
        width: 60px;
        height: 60px;
    }
    
    .google img {
        padding: 8px;
        border-radius: 12px;
    }
    
    .profile-link {
        padding: 1.5rem 0.5rem;
    }
    
    .profile-link h5 {
        font-size: 1rem;
    }
    
    .profile-link p {
        font-size: 0.8rem;
    }
}
