<<<<<<< HEAD
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* viewport height */
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Main content wrapper */
main {
    flex: 1 0 auto; /* This will push the footer down */
}

.visitor-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-right: 1rem;
}

.visitor-counter i {
    color: var(--primary-color);
}

@media screen and (max-width: 1024px) {
    .visitor-counter {
        font-size: 0.8rem;
        margin-right: 15px;
    }
}

/* For mobile landscape */
@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: var(--primary-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1;
    }

    /* Make sure navbar stays visible */
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: var(--primary-color);
        position: fixed;
        width: 100%;
        z-index: 2;  /* Higher z-index to stay above nav-links */
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
        cursor: pointer;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .visitor-counter {
        display: none; /* Hide on mobile to save space */
    }
}

/* For mobile portrait */
@media screen and (max-width: 480px) {
    .visitor-counter {
        position: absolute;
        top: 15px;
        right: 50px;
        font-size: 0.7rem;
    }
}

/* For very small screens */
@media screen and (max-width: 320px) {
    .visitor-counter {
        display: none;
    }
}
/* Enhanced Base Styles */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --gradient-1: linear-gradient(45deg, #4a90e2, #67b26f);
    --gradient-2: linear-gradient(135deg, #2c3e50, #3498db);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body {
    background: #f8f9fa;
    font-family: 'Poppins', sans-serif;
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    padding: 0 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI3NTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiMwMDAiIGN4PSI3MjAiIGN5PSIzNzUiIHI9IjM3NSIvPjxjaXJjbGUgZmlsbD0iI0ZGRiIgY3g9IjcyMCIgY3k9IjM3NSIgcj0iMzc1Ii8+PC9nPjwvc3ZnPg==');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.highlight {
    color: #007bff;
}

.typing-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Enhanced Social Links */
.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.social-links a {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.social-links a i {
    font-size: 1.8rem;
    color: #2d2d2d;
    transition: all 0.3s ease;
    z-index: 2;
}

/* Custom colors and hover effects for each social link */
.social-links a:nth-child(1) { /* GitHub */
    background: rgba(36, 41, 46, 0.1);
}
.social-links a:nth-child(1):hover {
    background: #24292e;
}
.social-links a:nth-child(1):hover i {
    color: #fff;
}

.social-links a:nth-child(2) { /* LinkedIn */
    background: rgba(0, 119, 181, 0.1);
}
.social-links a:nth-child(2):hover {
    background: #0077b5;
}
.social-links a:nth-child(2):hover i {
    color: #fff;
}

.social-links a:nth-child(3) { /* Email */
    background: rgba(234, 67, 53, 0.1);
}
.social-links a:nth-child(3):hover {
    background: #ea4335;
}
.social-links a:nth-child(3):hover i {
    color: #fff;
}

/* Hover Effects */
.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.social-links a:hover::before {
    width: 100%;
    height: 100%;
}

/* Tooltip styling */
.social-links a::after {
    content: attr(title);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    padding: 6px 12px;
    border-radius: 6px;
    background: #333;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-links a:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
    bottom: -35px;
}

/* Click effect */
.social-links a:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Optional: Add floating animation */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.social-links a {
    animation: float 3s ease-in-out infinite;
}

.social-links a:nth-child(2) {
    animation-delay: 0.2s;
}

.social-links a:nth-child(3) {
    animation-delay: 0.4s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-links {
        gap: 1.5rem;
    }

    .social-links a {
        width: 50px;
        height: 50px;
    }

    .social-links a i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .social-links {
        gap: 1rem;
    }

    .social-links a {
        width: 45px;
        height: 45px;
    }

    .social-links a i {
        font-size: 1.3rem;
    }
}

/* Enhanced Resume Button */
.resume-buttons {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.resume-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    font-size: 1.3rem !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--primary-color) !important;
    color: white !important;
    min-width: 250px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.25);
    border: none !important;
    letter-spacing: 0.5px;
}

.resume-btn i {
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

/* Hover Effects */
.resume-btn:hover {
    background: linear-gradient(45deg, var(--primary-color), #67b26f) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.35);
}

.resume-btn:hover i {
    transform: scale(1.1);
}

/* Add shine effect */
.resume-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 100%
    );
    transform: skewX(-25deg);
    transition: 0.5s;
}

.resume-btn:hover::before {
    animation: shine 0.75s;
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

/* Active State */
.resume-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .resume-btn {
        padding: 14px 28px !important;
        font-size: 1.2rem !important;
        min-width: 220px;
    }
}

@media (max-width: 480px) {
    .resume-btn {
        padding: 12px 24px !important;
        font-size: 1.1rem !important;
        min-width: 200px;
    }
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: #ffffff;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* Journey Path Styling */
.journey {
    margin-top: 4rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.journey h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    position: relative;
}

.journey h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.journey-path {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Path Line */
.journey-path::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, 
        var(--primary-color) 0%,
        #67b26f 100%);
    border-radius: 2px;
}

/* Milestone Styling */
.milestone {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.milestone:last-child {
    margin-bottom: 0;
}

.milestone-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 25px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
}

.milestone-content {
    width: 45%;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

/* Alternating sides */
.milestone:nth-child(odd) .milestone-content {
    margin-right: 50%;
    transform: translateX(-2rem);
}

.milestone:nth-child(even) .milestone-content {
    margin-left: 50%;
    transform: translateX(2rem);
}

/* Year Styling */
.year {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Achievement Styling */
.achievement {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.achievement i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.achievement p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* Hover Effects */
.milestone-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.milestone:nth-child(odd) .milestone-content:hover {
    transform: translateX(-2rem) translateY(-5px);
}

.milestone:nth-child(even) .milestone-content:hover {
    transform: translateX(2rem) translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .journey-path::before {
        left: 30px;
    }

    .milestone-dot {
        left: 30px;
        transform: translateX(0);
    }

    .milestone-content {
        width: calc(100% - 80px);
        margin-left: 60px !important;
        transform: translateX(0) !important;
    }

    .milestone:nth-child(odd) .milestone-content,
    .milestone:nth-child(even) .milestone-content {
        margin-right: 0;
        margin-left: 60px;
        transform: translateX(0);
    }

    .milestone-content:hover,
    .milestone:nth-child(odd) .milestone-content:hover,
    .milestone:nth-child(even) .milestone-content:hover {
        transform: translateY(-5px) !important;
    }

    .year {
        font-size: 1.2rem;
    }

    .achievement i {
        font-size: 1.1rem;
    }

    .achievement p {
        font-size: 0.95rem;
    }
}

/* Combined Skills Section */
.skills {
    padding: 5rem 2rem;
    background: #ffffff;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.skill-category {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.skill-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill {
    padding: 0.8rem 1.5rem;
    background: white;
    border-radius: 25px;
    font-size: 1rem;
    color: var(--secondary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.skill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: var(--primary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills-container {
        gap: 2rem;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .skill-category h3 {
        font-size: 1.3rem;
    }

    .skill {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .skills {
        padding: 4rem 1rem;
    }

    .skill-category h3 {
        font-size: 1.2rem;
    }

    .skill {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Achievements Section */
.achievements {
    padding: 5rem 0 5rem 2rem;
    background: #ffffff;
    overflow: hidden;
}

.achievements h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    padding-bottom: 5rem;
    position: relative;
    min-height: 250px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
}

.achievement-card:hover {
    transform: translateY(-5px);
}

.achievement-icon {
    background: var(--gradient-1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.achievement-icon i {
    color: white;
    font-size: 2rem;
}

.achievement-card h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.achievement-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.achievement-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.achievement-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #007bff;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.achievement-link {
    position: absolute;
    bottom: 1.5rem;
    left: 2rem;
    right: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.achievement-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
    background: linear-gradient(45deg, var(--primary-color), #67b26f);
}

.achievement-link:active {
    transform: translateY(0);
}

/* Profiles Section */
.profiles {
    padding: 5rem 2rem;
    background: #f3f4f6;
}

.profiles h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-card {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-1);
    opacity: 0;
    transform: rotate(30deg);
    transition: transform 0.5s ease, opacity 0.3s ease;
    z-index: 0;
}

.profile-card:hover::before {
    opacity: 0.1;
    transform: rotate(0deg);
}

.profile-icon {
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.profile-card:hover .profile-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-color);
}

.profile-card h3,
.profile-card p {
    transition: transform 0.3s ease;
}

.profile-card:hover h3 {
    transform: translateY(-2px);
}

.profile-card:hover p {
    transform: translateY(-1px);
}

/* Enhanced Profile Button Styles */
.profile-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    color: #fff;
    background: #2d2d2d;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 160px;  /* Fixed width for consistency */
}

.profile-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 2px solid transparent;
    top: -2px;
    left: -2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.profile-link:hover::after {
    border-color: currentColor;
    transform: scale(1.1);
    opacity: 0;
}

.profile-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Custom colors for different profiles */
.profile-card:nth-child(1) .profile-link { /* GitHub */
    background: #24292e;
    color: #fff;
}
.profile-card:nth-child(1) .profile-link:hover {
    background: #2f363d;
    box-shadow: 0 6px 12px rgba(36, 41, 46, 0.2);
}

.profile-card:nth-child(2) .profile-link { /* LinkedIn */
    background: #0077b5;
    color: #fff;
}
.profile-card:nth-child(2) .profile-link:hover {
    background: #0085cc;
    box-shadow: 0 6px 12px rgba(0, 119, 181, 0.2);
}

.profile-card:nth-child(3) .profile-link { /* GeeksforGeeks */
    background: #2f8d46;
    color: #fff;
}
.profile-card:nth-child(3) .profile-link:hover {
    background: #379b4f;
    box-shadow: 0 6px 12px rgba(47, 141, 70, 0.2);
}

.profile-card:nth-child(4) .profile-link { /* LeetCode */
    background: #f89f1b;
    color: #fff;
}
.profile-card:nth-child(4) .profile-link:hover {
    background: #ffa827;
    box-shadow: 0 6px 12px rgba(248, 159, 27, 0.2);
}

.profile-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.profile-card:hover::after {
    opacity: 0.4;
}

/* Projects Section */
.project-section {
    padding: 3rem 2rem;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    position: relative;
}

.project-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 30px 10px;
    gap: 35px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.project-card {
    min-width: 320px;
    max-width: 320px;
    background: linear-gradient(145deg, var(--primary-color), #2a2a2a);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.project-content h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.project-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #4A90E2;
    border-radius: 2px;
}

.project-content p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tech {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 0.85rem;
    color: #fff;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn {
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 130px;
    font-size: 0.95rem;
}

/* GitHub button */
.btn:not(.btn-live) {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn:not(.btn-live):hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Live Demo button */
.btn-live {
    background: #4A90E2;
    border: 2px solid #4A90E2;
    color: #fff;
}

.btn-live:hover {
    background: #357ABD;
    border-color: #357ABD;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Icon styling */
.btn i {
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .btn {
        padding: 8px 20px;
        min-width: 120px;
        font-size: 0.9rem;
    }
    
    .btn i {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .project-links {
        gap: 20px;
    }
    
    .btn {
        padding: 8px 15px;
        min-width: 110px;
        font-size: 0.85rem;
    }
}

/* Scroll Indicators Enhancement */
.scroll-indicator {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 768px) {
    .scroll-indicator {
        width: 35px;
        height: 35px;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: #fff;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
}

.email-btn {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.call-btn {
    background: #4CAF50;
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.contact-btn:active {
    transform: translateY(-1px);
}

.contact-btn i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-btn {
        width: 100%;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Updated Footer Styles */
.footer {
    background: #1a1a1a;  /* Darker background */
    color: #fff;
    width: 100%;
    padding: 3rem 0 1rem 0;
    margin-top: auto;  /* Push to bottom */
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* Fixed 3 columns */
    gap: 4rem;
    padding: 0 2rem;
}

.footer-section h3 {
    color: var(--primary-color);  /* Use your primary color */
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-social a {
    color: #fff;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.visitor-stats {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ccc;
}

.visitor-stats i {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Cool Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.achievement-card {
    animation: float 6s ease-in-out infinite;
}

.achievement-card:nth-child(2) {
    animation-delay: 0.2s;
}

.achievement-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 1001;
    transition: transform 0.2s ease;
}

/* Cool Section Transitions */
section {
    opacity: 1; /* Make sections visible by default */
    transform: translateY(20px);
    transition: transform 0.6s ease-out;
}

section.visible {
    transform: translateY(0);
}

/* Remove any opacity: 0 from children elements */
section * {
    opacity: 1 !important;
}

/* Enhanced Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    color: var(--secondary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        gap: 1rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .achievements-grid {
        padding-bottom: 1.5rem;
    }

    .achievement-card {
        padding: 1.5rem;
        padding-bottom: 4.5rem;
        min-height: 220px;
    }

    .achievement-link {
        bottom: 1.2rem;
        left: 1.5rem;
        right: 1.5rem;
        padding: 0.7rem 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .achievement-card,
    .profile-card {
        animation: none;
    }

    .profile-link {
        padding: 10px 24px;
        font-size: 0.9rem;
        width: 140px;
    }
    
    .profile-card {
        padding: 2rem 1.5rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a {
        font-size: 1.2rem;
        padding: 8px;
    }

    .resume-btn {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
    }
}

/* Style the scrollbar */
.achievements-grid::-webkit-scrollbar {
    height: 8px;
}

.achievements-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.achievements-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.achievements-grid::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Optional: Add hover tooltips */
.social-links a {
    position: relative;
}

.social-links a::before {
    content: attr(title);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    border-radius: 4px;
    background: #333;
    color: white;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-links a:hover::before {
    opacity: 1;
    visibility: visible;
    bottom: -30px;
}

/* Enhanced Experience Section */
.experience-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin: 2rem auto;
    max-width: 800px;
}

.exp-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.exp-logo {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-right: 0.5rem;
}

.exp-logo img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    padding: 0.3rem;
}

.exp-title {
    flex: 1;
}

.exp-title h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.exp-duration {
    font-size: 0.95rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.exp-company {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.company-name {
    font-weight: 600;
    color: var(--primary-color);
}

.exp-location {
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.exp-proof {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 1rem;
}

.proof-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    background: #f8f9fa;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.proof-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.proof-link i {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .experience-card {
        padding: 1.5rem;
    }

    .exp-header {
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
    }

    .exp-logo {
        width: 40px;
        height: 40px;
    }

    .exp-proof {
        flex-direction: column;
    }

    .proof-link {
        width: 100%;
        justify-content: center;
    }
}

.activities {
    padding: 5rem 2rem;
}

.activity-card {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.activity-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.activity-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.activity-image img {
    width: 100%;
    height: 300px; /* Fixed height for consistency */
    object-fit: cover; /* This will make the image cover the area without stretching */
    filter: grayscale(100%); /* Make image black and white by default */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.activity-image:hover img {
    filter: grayscale(0%); /* Remove grayscale on hover */
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.activity-details {
    flex: 1;
    padding: 2rem;
}

.activity-details h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.activity-details ul {
    list-style-type: none;
    margin-bottom: 2rem;
}

.activity-details li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.activity-details li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.activity-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.activity-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
    background: linear-gradient(45deg, var(--primary-color), #67b26f);
}

@media (max-width: 900px) {
    .activity-content {
        flex-direction: column;
    }

    .activity-image {
        flex: 0 0 250px;
    }
}

@media (max-width: 480px) {
    .activities {
        padding: 3rem 1rem;
    }

    .activity-details {
        padding: 1.5rem;
    }

    .activity-link {
        width: 100%;
        justify-content: center;
    }
}

/* Add these responsive rules */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        right: 0;
    }

    .burger {
        display: block;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .project-card {
        width: 100%;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .profiles-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        flex-direction: column;
    }

    .hero-content {
        padding: 20px;
    }

    .about-content {
        flex-direction: column;
    }

    .experience-card {
        margin: 10px;
    }
}

/* Add better image handling */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Improve touch targets for mobile */
button, 
.nav-link,
.project-link,
.profile-link,
.contact-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 12px;
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Accounts for fixed navbar */
}

/* Improved responsive design */
@media screen and (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
        margin: 2rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .typing-text {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    /* Existing mobile styles */
    
    .hero-content h1 {
        font-size: 2rem;
    }

    .typing-text {
        font-size: 1rem;
    }

    .milestone {
        margin: 1rem 0;
    }

    .journey-path::before {
        left: 15px;
    }

    .milestone-content {
        margin-left: 35px;
    }

    .achievement-card {
        padding: 1rem;
        margin: 0.5rem 0;
    }

    .activity-content {
        flex-direction: column;
    }

    .activity-image {
        width: 100%;
        margin-bottom: 1rem;
    }

    .activity-details {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .social-links a {
        margin: 0 0.5rem;
    }

    .resume-btn {
        padding: 0.5rem 1rem;
    }

    .skill {
        margin: 0.25rem;
        padding: 0.5rem 0.75rem;
    }

    .project-card {
        padding: 1rem;
    }

    .tech-stack span {
        margin: 0.25rem;
        padding: 0.25rem 0.5rem;
    }

    .contact-btn {
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Improved accessibility and interactivity */
.nav-link:hover,
.project-link:hover,
.profile-link:hover,
.contact-btn:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* Better image handling */
.activity-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Smooth transitions */
.project-card,
.achievement-card,
.profile-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover,
.achievement-card:hover,
.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Better spacing for mobile */
section {
    padding: 3rem 1rem;
}

@media screen and (max-width: 480px) {
    section {
        padding: 2rem 0.5rem;
    }
}

/* Improved form responsiveness */
.contact-container {
    max-width: 100%;
    padding: 0 1rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.project-links {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    justify-content: center;
}

/* Optional: Make buttons slightly wider */
.btn {
    padding: 8px 20px;  /* Increased horizontal padding */
    min-width: 120px;   /* Set minimum width */
    justify-content: center;
}

.certificates-section {
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
}

.certificates-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 2rem;
    padding: 1rem 2rem;
}

.certificates-container::-webkit-scrollbar {
    display: none;
}

.certificate-card {
    flex: 0 0 auto;
    width: 300px;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    scroll-snap-align: start;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
}

.certificate-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.certificate-details {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.certificate-links {
    margin-top: 1rem;
}

.certificate-links .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.certificate-links .btn:hover {
    background: var(--primary-dark);
}
=======
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* viewport height */
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Main content wrapper */
main {
    flex: 1 0 auto; /* This will push the footer down */
}

.visitor-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-right: 1rem;
}

.visitor-counter i {
    color: var(--primary-color);
}

@media screen and (max-width: 1024px) {
    .visitor-counter {
        font-size: 0.8rem;
        margin-right: 15px;
    }
}

/* For mobile landscape */
@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: var(--primary-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1;
    }

    /* Make sure navbar stays visible */
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: var(--primary-color);
        position: fixed;
        width: 100%;
        z-index: 2;  /* Higher z-index to stay above nav-links */
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
        cursor: pointer;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .visitor-counter {
        display: none; /* Hide on mobile to save space */
    }
}

/* For mobile portrait */
@media screen and (max-width: 480px) {
    .visitor-counter {
        position: absolute;
        top: 15px;
        right: 50px;
        font-size: 0.7rem;
    }
}

/* For very small screens */
@media screen and (max-width: 320px) {
    .visitor-counter {
        display: none;
    }
}
/* Enhanced Base Styles */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --gradient-1: linear-gradient(45deg, #4a90e2, #67b26f);
    --gradient-2: linear-gradient(135deg, #2c3e50, #3498db);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body {
    background: #f8f9fa;
    font-family: 'Poppins', sans-serif;
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    padding: 0 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI3NTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiMwMDAiIGN4PSI3MjAiIGN5PSIzNzUiIHI9IjM3NSIvPjxjaXJjbGUgZmlsbD0iI0ZGRiIgY3g9IjcyMCIgY3k9IjM3NSIgcj0iMzc1Ii8+PC9nPjwvc3ZnPg==');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.highlight {
    color: #007bff;
}

.typing-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Enhanced Social Links */
.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.social-links a {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.social-links a i {
    font-size: 1.8rem;
    color: #2d2d2d;
    transition: all 0.3s ease;
    z-index: 2;
}

/* Custom colors and hover effects for each social link */
.social-links a:nth-child(1) { /* GitHub */
    background: rgba(36, 41, 46, 0.1);
}
.social-links a:nth-child(1):hover {
    background: #24292e;
}
.social-links a:nth-child(1):hover i {
    color: #fff;
}

.social-links a:nth-child(2) { /* LinkedIn */
    background: rgba(0, 119, 181, 0.1);
}
.social-links a:nth-child(2):hover {
    background: #0077b5;
}
.social-links a:nth-child(2):hover i {
    color: #fff;
}

.social-links a:nth-child(3) { /* Email */
    background: rgba(234, 67, 53, 0.1);
}
.social-links a:nth-child(3):hover {
    background: #ea4335;
}
.social-links a:nth-child(3):hover i {
    color: #fff;
}

/* Hover Effects */
.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.social-links a:hover::before {
    width: 100%;
    height: 100%;
}

/* Tooltip styling */
.social-links a::after {
    content: attr(title);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    padding: 6px 12px;
    border-radius: 6px;
    background: #333;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-links a:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
    bottom: -35px;
}

/* Click effect */
.social-links a:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Optional: Add floating animation */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.social-links a {
    animation: float 3s ease-in-out infinite;
}

.social-links a:nth-child(2) {
    animation-delay: 0.2s;
}

.social-links a:nth-child(3) {
    animation-delay: 0.4s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-links {
        gap: 1.5rem;
    }

    .social-links a {
        width: 50px;
        height: 50px;
    }

    .social-links a i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .social-links {
        gap: 1rem;
    }

    .social-links a {
        width: 45px;
        height: 45px;
    }

    .social-links a i {
        font-size: 1.3rem;
    }
}

/* Enhanced Resume Button */
.resume-buttons {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.resume-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    font-size: 1.3rem !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--primary-color) !important;
    color: white !important;
    min-width: 250px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.25);
    border: none !important;
    letter-spacing: 0.5px;
}

.resume-btn i {
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

/* Hover Effects */
.resume-btn:hover {
    background: linear-gradient(45deg, var(--primary-color), #67b26f) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.35);
}

.resume-btn:hover i {
    transform: scale(1.1);
}

/* Add shine effect */
.resume-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 100%
    );
    transform: skewX(-25deg);
    transition: 0.5s;
}

.resume-btn:hover::before {
    animation: shine 0.75s;
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

/* Active State */
.resume-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .resume-btn {
        padding: 14px 28px !important;
        font-size: 1.2rem !important;
        min-width: 220px;
    }
}

@media (max-width: 480px) {
    .resume-btn {
        padding: 12px 24px !important;
        font-size: 1.1rem !important;
        min-width: 200px;
    }
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: #ffffff;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* Journey Path Styling */
.journey {
    margin-top: 4rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.journey h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    position: relative;
}

.journey h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.journey-path {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Path Line */
.journey-path::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, 
        var(--primary-color) 0%,
        #67b26f 100%);
    border-radius: 2px;
}

/* Milestone Styling */
.milestone {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.milestone:last-child {
    margin-bottom: 0;
}

.milestone-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 25px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
}

.milestone-content {
    width: 45%;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

/* Alternating sides */
.milestone:nth-child(odd) .milestone-content {
    margin-right: 50%;
    transform: translateX(-2rem);
}

.milestone:nth-child(even) .milestone-content {
    margin-left: 50%;
    transform: translateX(2rem);
}

/* Year Styling */
.year {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Achievement Styling */
.achievement {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.achievement i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.achievement p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* Hover Effects */
.milestone-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.milestone:nth-child(odd) .milestone-content:hover {
    transform: translateX(-2rem) translateY(-5px);
}

.milestone:nth-child(even) .milestone-content:hover {
    transform: translateX(2rem) translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .journey-path::before {
        left: 30px;
    }

    .milestone-dot {
        left: 30px;
        transform: translateX(0);
    }

    .milestone-content {
        width: calc(100% - 80px);
        margin-left: 60px !important;
        transform: translateX(0) !important;
    }

    .milestone:nth-child(odd) .milestone-content,
    .milestone:nth-child(even) .milestone-content {
        margin-right: 0;
        margin-left: 60px;
        transform: translateX(0);
    }

    .milestone-content:hover,
    .milestone:nth-child(odd) .milestone-content:hover,
    .milestone:nth-child(even) .milestone-content:hover {
        transform: translateY(-5px) !important;
    }

    .year {
        font-size: 1.2rem;
    }

    .achievement i {
        font-size: 1.1rem;
    }

    .achievement p {
        font-size: 0.95rem;
    }
}

/* Combined Skills Section */
.skills {
    padding: 5rem 2rem;
    background: #ffffff;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.skill-category {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.skill-category h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.skill-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill {
    padding: 0.8rem 1.5rem;
    background: white;
    border-radius: 25px;
    font-size: 1rem;
    color: var(--secondary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.skill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: var(--primary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills-container {
        gap: 2rem;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .skill-category h3 {
        font-size: 1.3rem;
    }

    .skill {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .skills {
        padding: 4rem 1rem;
    }

    .skill-category h3 {
        font-size: 1.2rem;
    }

    .skill {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Achievements Section */
.achievements {
    padding: 5rem 0 5rem 2rem;
    background: #ffffff;
    overflow: hidden;
}

.achievements h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    padding-bottom: 5rem;
    position: relative;
    min-height: 250px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
}

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

.achievement-icon {
    background: var(--gradient-1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.achievement-card h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.achievement-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.achievement-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.achievement-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #007bff;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.achievement-link {
    position: absolute;
    bottom: 1.5rem;
    left: 2rem;
    right: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.achievement-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
    background: linear-gradient(45deg, var(--primary-color), #67b26f);
}

.achievement-link:active {
    transform: translateY(0);
}

/* Profiles Section */
.profiles {
    padding: 5rem 2rem;
    background: #f3f4f6;
}

.profiles h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-card {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-1);
    opacity: 0;
    transform: rotate(30deg);
    transition: transform 0.5s ease, opacity 0.3s ease;
    z-index: 0;
}

.profile-card:hover::before {
    opacity: 0.1;
    transform: rotate(0deg);
}

.profile-icon {
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.profile-card:hover .profile-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-color);
}

.profile-card h3,
.profile-card p {
    transition: transform 0.3s ease;
}

.profile-card:hover h3 {
    transform: translateY(-2px);
}

.profile-card:hover p {
    transform: translateY(-1px);
}

/* Enhanced Profile Button Styles */
.profile-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    color: #fff;
    background: #2d2d2d;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 160px;  /* Fixed width for consistency */
}

.profile-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 2px solid transparent;
    top: -2px;
    left: -2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.profile-link:hover::after {
    border-color: currentColor;
    transform: scale(1.1);
    opacity: 0;
}

.profile-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Custom colors for different profiles */
.profile-card:nth-child(1) .profile-link { /* GitHub */
    background: #24292e;
    color: #fff;
}
.profile-card:nth-child(1) .profile-link:hover {
    background: #2f363d;
    box-shadow: 0 6px 12px rgba(36, 41, 46, 0.2);
}

.profile-card:nth-child(2) .profile-link { /* LinkedIn */
    background: #0077b5;
    color: #fff;
}
.profile-card:nth-child(2) .profile-link:hover {
    background: #0085cc;
    box-shadow: 0 6px 12px rgba(0, 119, 181, 0.2);
}

.profile-card:nth-child(3) .profile-link { /* GeeksforGeeks */
    background: #2f8d46;
    color: #fff;
}
.profile-card:nth-child(3) .profile-link:hover {
    background: #379b4f;
    box-shadow: 0 6px 12px rgba(47, 141, 70, 0.2);
}

.profile-card:nth-child(4) .profile-link { /* LeetCode */
    background: #f89f1b;
    color: #fff;
}
.profile-card:nth-child(4) .profile-link:hover {
    background: #ffa827;
    box-shadow: 0 6px 12px rgba(248, 159, 27, 0.2);
}

.profile-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.profile-card:hover::after {
    opacity: 0.4;
}

/* Projects Section */
.project-section {
    padding: 3rem 2rem;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    position: relative;
}

.project-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 30px 10px;
    gap: 35px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.project-card {
    min-width: 320px;
    max-width: 320px;
    background: linear-gradient(145deg, var(--primary-color), #2a2a2a);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.project-content h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.project-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #4A90E2;
    border-radius: 2px;
}

.project-content p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tech {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 0.85rem;
    color: #fff;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn {
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 130px;
    font-size: 0.95rem;
}

/* GitHub button */
.btn:not(.btn-live) {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn:not(.btn-live):hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Live Demo button */
.btn-live {
    background: #4A90E2;
    border: 2px solid #4A90E2;
    color: #fff;
}

.btn-live:hover {
    background: #357ABD;
    border-color: #357ABD;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Icon styling */
.btn i {
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .btn {
        padding: 8px 20px;
        min-width: 120px;
        font-size: 0.9rem;
    }
    
    .btn i {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .project-links {
        gap: 20px;
    }
    
    .btn {
        padding: 8px 15px;
        min-width: 110px;
        font-size: 0.85rem;
    }
}

/* Scroll Indicators Enhancement */
.scroll-indicator {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 768px) {
    .scroll-indicator {
        width: 35px;
        height: 35px;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: #fff;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
}

.email-btn {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.call-btn {
    background: #4CAF50;
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.contact-btn:active {
    transform: translateY(-1px);
}

.contact-btn i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-btn {
        width: 100%;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Updated Footer Styles */
.footer {
    background: #1a1a1a;  /* Darker background */
    color: #fff;
    width: 100%;
    padding: 3rem 0 1rem 0;
    margin-top: auto;  /* Push to bottom */
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* Fixed 3 columns */
    gap: 4rem;
    padding: 0 2rem;
}

.footer-section h3 {
    color: var(--primary-color);  /* Use your primary color */
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-social a {
    color: #fff;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.visitor-stats {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ccc;
}

.visitor-stats i {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Cool Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.achievement-card {
    animation: float 6s ease-in-out infinite;
}

.achievement-card:nth-child(2) {
    animation-delay: 0.2s;
}

.achievement-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 1001;
    transition: transform 0.2s ease;
}

/* Cool Section Transitions */
section {
    opacity: 1; /* Make sections visible by default */
    transform: translateY(20px);
    transition: transform 0.6s ease-out;
}

section.visible {
    transform: translateY(0);
}

/* Remove any opacity: 0 from children elements */
section * {
    opacity: 1 !important;
}

/* Enhanced Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    color: var(--secondary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        gap: 1rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .achievements-grid {
        padding-bottom: 1.5rem;
    }

    .achievement-card {
        padding: 1.5rem;
        padding-bottom: 4.5rem;
        min-height: 220px;
    }

    .achievement-link {
        bottom: 1.2rem;
        left: 1.5rem;
        right: 1.5rem;
        padding: 0.7rem 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .achievement-card,
    .profile-card {
        animation: none;
    }

    .profile-link {
        padding: 10px 24px;
        font-size: 0.9rem;
        width: 140px;
    }
    
    .profile-card {
        padding: 2rem 1.5rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a {
        font-size: 1.2rem;
        padding: 8px;
    }

    .resume-btn {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
    }
}

/* Style the scrollbar */
.achievements-grid::-webkit-scrollbar {
    height: 8px;
}

.achievements-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.achievements-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.achievements-grid::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Optional: Add hover tooltips */
.social-links a {
    position: relative;
}

.social-links a::before {
    content: attr(title);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    border-radius: 4px;
    background: #333;
    color: white;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-links a:hover::before {
    opacity: 1;
    visibility: visible;
    bottom: -30px;
}

/* Enhanced Experience Section */
.experience-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin: 2rem auto;
    max-width: 800px;
}

.exp-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.exp-logo {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-right: 0.5rem;
}

.exp-logo img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    padding: 0.3rem;
}

.exp-title {
    flex: 1;
}

.exp-title h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.exp-duration {
    font-size: 0.95rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.exp-company {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.company-name {
    font-weight: 600;
    color: var(--primary-color);
}

.exp-location {
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.exp-proof {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 1rem;
}

.proof-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    background: #f8f9fa;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.proof-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.proof-link i {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .experience-card {
        padding: 1.5rem;
    }

    .exp-header {
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
    }

    .exp-logo {
        width: 40px;
        height: 40px;
    }

    .exp-proof {
        flex-direction: column;
    }

    .proof-link {
        width: 100%;
        justify-content: center;
    }
}

.activities {
    padding: 5rem 2rem;
}

.activity-card {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.activity-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.activity-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.activity-image img {
    width: 100%;
    height: 300px; /* Fixed height for consistency */
    object-fit: cover; /* This will make the image cover the area without stretching */
    filter: grayscale(100%); /* Make image black and white by default */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.activity-image:hover img {
    filter: grayscale(0%); /* Remove grayscale on hover */
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.activity-details {
    flex: 1;
    padding: 2rem;
}

.activity-details h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.activity-details ul {
    list-style-type: none;
    margin-bottom: 2rem;
}

.activity-details li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.activity-details li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.activity-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.activity-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
    background: linear-gradient(45deg, var(--primary-color), #67b26f);
}

@media (max-width: 900px) {
    .activity-content {
        flex-direction: column;
    }

    .activity-image {
        flex: 0 0 250px;
    }
}

@media (max-width: 480px) {
    .activities {
        padding: 3rem 1rem;
    }

    .activity-details {
        padding: 1.5rem;
    }

    .activity-link {
        width: 100%;
        justify-content: center;
    }
}

/* Add these responsive rules */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        right: 0;
    }

    .burger {
        display: block;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .project-card {
        width: 100%;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .profiles-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        flex-direction: column;
    }

    .hero-content {
        padding: 20px;
    }

    .about-content {
        flex-direction: column;
    }

    .experience-card {
        margin: 10px;
    }
}

/* Add better image handling */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Improve touch targets for mobile */
button, 
.nav-link,
.project-link,
.profile-link,
.contact-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 12px;
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Accounts for fixed navbar */
}

/* Improved responsive design */
@media screen and (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
        margin: 2rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .typing-text {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    /* Existing mobile styles */
    
    .hero-content h1 {
        font-size: 2rem;
    }

    .typing-text {
        font-size: 1rem;
    }

    .milestone {
        margin: 1rem 0;
    }

    .journey-path::before {
        left: 15px;
    }

    .milestone-content {
        margin-left: 35px;
    }

    .achievement-card {
        padding: 1rem;
        margin: 0.5rem 0;
    }

    .activity-content {
        flex-direction: column;
    }

    .activity-image {
        width: 100%;
        margin-bottom: 1rem;
    }

    .activity-details {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .social-links a {
        margin: 0 0.5rem;
    }

    .resume-btn {
        padding: 0.5rem 1rem;
    }

    .skill {
        margin: 0.25rem;
        padding: 0.5rem 0.75rem;
    }

    .project-card {
        padding: 1rem;
    }

    .tech-stack span {
        margin: 0.25rem;
        padding: 0.25rem 0.5rem;
    }

    .contact-btn {
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Improved accessibility and interactivity */
.nav-link:hover,
.project-link:hover,
.profile-link:hover,
.contact-btn:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* Better image handling */
.activity-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Smooth transitions */
.project-card,
.achievement-card,
.profile-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover,
.achievement-card:hover,
.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Better spacing for mobile */
section {
    padding: 3rem 1rem;
}

@media screen and (max-width: 480px) {
    section {
        padding: 2rem 0.5rem;
    }
}

/* Improved form responsiveness */
.contact-container {
    max-width: 100%;
    padding: 0 1rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.project-links {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    justify-content: center;
}

/* Optional: Make buttons slightly wider */
.btn {
    padding: 8px 20px;  /* Increased horizontal padding */
    min-width: 120px;   /* Set minimum width */
    justify-content: center;
}

.certificates-section {
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
}

.certificates-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 2rem;
    padding: 1rem 2rem;
}

.certificates-container::-webkit-scrollbar {
    display: none;
}

.certificate-card {
    flex: 0 0 auto;
    width: 300px;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    scroll-snap-align: start;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.certificate-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.certificate-details {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.certificate-links {
    margin-top: 1rem;
}

.certificate-links .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.certificate-links .btn:hover {
    background: var(--primary-dark);
}
>>>>>>> d10f9d7 (Updated Certificates)
