@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@1,500&family=Quicksand:wght@300..700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

*{
    font-family: "Quicksand", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #000;
    background-color: #f9fafb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-lg {
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-md {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Balloons */
.shape-container {
    position: absolute;
    display: flex;
    justify-content: center;
}

.bg-shape1{
    width: 400px;
    height: 400px;
    border-radius: 50%; /* Use 50% instead of 9999px */
    position: relative;
    animation: one 5s infinite;
    transform: translateZ(0); /* Force hardware acceleration */
}

.bg-shape2 {
    width: 300px;
    height: 300px;
    border-radius: 50%; /* Use 50% instead of 9999px */
    position: relative;
    animation: two 5s infinite;
    transform: translateZ(0); /* Force hardware acceleration */
}

@keyframes one{
    0%{left: 0px; top: 0px;}
    25%{left: -100px; top: 70px;}
    50%{left: 20px; top: 150px;}
    75%{left: 50px; top: 100px;}
    100%{left: 0px; top: 0px;}
}

@-webkit-keyframes one { /* Add this for Safari */
    0% { left: 0px; top: 0px; }
    25% { left: -100px; top: 70px; }
    50% { left: 20px; top: 150px; }
    75% { left: 50px; top: 100px; }
    100% { left: 0px; top: 0px; }
}

@keyframes two{
    0%{left: 0px; top: 0px;}
    25%{left: 50px; top: 10px;}
    50%{left: 100px; top: 50px;}
    75%{left: 50px; top: 100px;}
    100%{left: 0px; top: 0px;}
}

@-webkit-keyframes two { /* Add this for Safari */
    0% { left: 0px; top: 0px; }
    25% { left: 50px; top: 10px; }
    50% { left: 100px; top: 50px; }
    75% { left: 50px; top: 100px; }
    100% { left: 0px; top: 0px; }
}

.opacity-50{
    opacity: .5;
}

.bg-blur{
    filter: blur(90px);
    -webkit-filter: blur(90px); /* Add this for Safari */
}

.bg-primary{
    background-color: #63c132;
}

.bg-teal{
    background-color: #2e933c;
}

.bg-purple{
    background-color: #2a7221;
}

.justify-center {
    justify-content: center;
}
/* Balloons */

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

.nav-container {
    max-width: 1536px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: #000;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #2a7221;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: #2a7221;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    margin-top: 1rem;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    color: #000;
    text-decoration: none;
}

.mobile-menu a:hover {
    color: #2a7221;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-in-out;
}

        .section-fade.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
/* Home Section */

.music-link {
    text-decoration: none;
    color: inherit; /* keeps it same as li color */
    transition: color 0.3s ease; /* smooth change */
  }

  .music-link:hover {
    color: #2a7221; /* pick your hover color */
  }

.me{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.me-avatar {
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    border: 5px solid #2a7221; 
    overflow: hidden; 
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.me-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: 70% 70%;
}

.me-title {
    font-size: 3.5rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 1rem;
}

.me-subtitle {
    font-size: 1.25rem;
    color: #000;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background-color: #2a7221;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #2e933c;
}

        /* Grid System */
        .grid {
            display: grid;
            gap: 1.5rem;
        }

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

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

        /* Typography */
        .title {
            font-size: 2.5rem;
            font-weight: bold;
            text-align: center;
            margin-bottom: 3rem;
            color: #000;
        }

        .subtitle {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: #000;
        }

        .text-lg {
            font-size: 1.125rem;
            line-height: 1.75;
            color: #000;
            margin-bottom: 1.5rem;
        }

        /* Cards */
        .card {
            background: white;
            border-radius: 0.5rem;
            padding: 1.5rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

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

        .card-hover:hover {
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        /* Education Cards */
        .education-card {
            background: white;
            border-radius: 0.5rem;
            padding: 1.5rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            border-left: 4px solid #2a7221;
            margin-bottom: 2rem;
        }

        .education-card:nth-child(2) {
            border-left-color: #2e933c;
        }

        .education-header {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .education-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #000;
        }

        .education-school {
            color: #2a7221;
            font-weight: 500;
        }

        .education-card:nth-child(2) .education-school {
            color: #2e933c;
        }

        .education-details {
            color: #000;
            margin-top: 0.5rem;
        }

        .education-date {
            color: #000;
            margin-top: 0.5rem;
        }

        /* Experience Timeline */
        .timeline {
            position: relative;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 1rem;
            top: 0;
            bottom: 0;
            width: 2px;
            background: rgba(99, 193, 50, 0.3);
        }

        .timeline-item {
            position: relative;
            margin-bottom: 3rem;
        }

        .timeline-dot {
            position: absolute;
            left: 0.5rem;
            width: 1rem;
            height: 1rem;
            border-radius: 50%;
            background-color: #2a7221;
        }

        .timeline-item:nth-child(2) .timeline-dot {
            background-color: #2e933c;
        }

        .timeline-item:nth-child(3) .timeline-dot {
            background-color: #63c132;
        }

        .timeline-content {
            margin-left: 3rem;
            background: #f9fafb;
            border-radius: 0.5rem;
            padding: 1.5rem;
        }

        .timeline-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #000;
        }

        .timeline-company {
            color: #2a7221;
            font-weight: 500;
        }

        .timeline-item:nth-child(2) .timeline-company {
            color: #2e933c;
        }

        .timeline-item:nth-child(3) .timeline-company {
            color: #63c132;
        }

        .timeline-date {
            color: #000;
            font-size: 0.875rem;
            margin-bottom: 0.75rem;
        }

        .timeline-description {
            color: #000;
        }

        /* Skills */
        .skill-item {
            margin-bottom: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .skill-item:hover {
            transform: translateX(5px);
        }

        .skill-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }

        .skill-name {
            color: #000;
            font-weight: 500;
        }

        .skill-percentage {
            color: #2a7221;
            font-weight: 600;
        }

        .skill-bar {
            height: 10px;
            background-color: #e5e7eb;
            border-radius: 5px;
            overflow: hidden;
            position: relative;
        }

        .skill-progress {
            height: 100%;
            background: linear-gradient(90deg, #2a7221, #63c132);
            border-radius: 5px;
            width: 0;
            transition: width 1.5s ease-in-out;
            position: relative;
        }

        .skill-progress::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 4px;
            height: 100%;
            background: rgba(255, 255, 255, 0.3);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% { opacity: 0; }
            50% { opacity: 1; }
            100% { opacity: 0; }
        }

        /* Skill Boxes */
        .skill-boxes {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); /* 👈 make boxes smaller */
            gap: 0.75rem;
        }

        .skill-box {
            background: white;
            border-radius: 0.5rem;
            padding: 0.75rem;
            text-align: center;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            /* width: 40%;
            height: 100%; */
        }

        .skill-box:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        .skill-box i {
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }

        .skill-box:hover i {
            transform: scale(1.1);
        }

        .skill-box span {
            color: #000;
            font-weight: 500;
            font-size: 0.75rem;
        }

       

        /* Projects */
        .project-card {
            background: #f9fafb;
            border-radius: 0.5rem;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .project-card:hover {
            transform: translateY(-8px);
        }

        .project-image {
            height: 12rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2.5rem;
        }

        .project-image-1 {
            background: linear-gradient(135deg, #2a7221 0%, #2e933c 100%);
            height: 0.5rem;
        }

        .project-image-2 {
            background: linear-gradient(135deg, #2e933c 0%, #63c132 100%);
            height: 0.5rem;
        }

        .project-image-3 {
            background: linear-gradient(135deg, #63c132 0%, #2a7221 100%);
            height: 0.5rem;
        }

        .project-content {
            padding: 1.5rem;
        }

        .project-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: #000;
        }

        .project-description {
            color: #000;
            margin-bottom: 1rem;
        }

        .project-tags {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .tag {
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            font-size: 0.75rem;
        }

        .tag-green-1 {
            background: rgba(42, 114, 33, 0.2);
            color: #2a7221;
        }

        .tag-green-2 {
            background: rgba(46, 147, 60, 0.2);
            color: #2e933c;
        }

        .tag-green-3 {
            background: rgba(99, 193, 50, 0.2);
            color: #63c132;
        }

        .project-link {
            color: #2a7221;
            text-decoration: none;
            font-weight: 500;
        }

        .project-link:hover {
            color: #2e933c;
        }

        /* Papers */
        .paper-card {
            background: white;
            border-radius: 0.5rem;
            padding: 1.5rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            margin-bottom: 1.5rem;
            transition: box-shadow 0.3s ease;
        }

        .paper-card:hover {
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .paper-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #000;
            margin-bottom: 0.5rem;
        }

        .paper-journal {
            color: #000;
            margin-bottom: 0.75rem;
        }

        .paper-description {
            color: #000;
            margin-bottom: 1rem;
        }

        .paper-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .paper-tags {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .paper-link {
            color: #2a7221;
            text-decoration: none;
            font-weight: 500;
        }

        .paper-link:hover {
            color: #2e933c;
        }

        /* Contact */
        .contact-info {
            margin-bottom: 2rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .contact-icon {
            width: 3rem;
            height: 3rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
        }

        .contact-icon-1 {
            background: rgba(42, 114, 33, 0.2);
            color: #2a7221;
        }

        .contact-icon-2 {
            background: rgba(46, 147, 60, 0.2);
            color: #2e933c;
        }

        .contact-icon-3 {
            background: rgba(99, 193, 50, 0.2);
            color: #63c132;
        }

        .contact-details h4 {
            font-weight: 500;
            color: #000;
        }

        .contact-details p {
            color: #000;
        }

         /* Contact */
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            max-width: 800px;
            margin: 0 auto;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            background: white;
            padding: 1.5rem;
            border-radius: 0.5rem;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .contact-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        .contact-icon {
            width: 3rem;
            height: 3rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
        }

        .contact-icon-1 {
            background: rgba(42, 114, 33, 0.2);
            color: #2a7221;
        }

        .contact-icon-2 {
            background: rgba(46, 147, 60, 0.2);
            color: #2e933c;
        }

        .contact-icon-3 {
            background: rgba(99, 193, 50, 0.2);
            color: #63c132;
        }

        .contact-details h4 {
            font-weight: 500;
            color: #000;
            margin-bottom: 0.25rem;
        }

        .contact-details p {
            color: #000;
        }

        .contact-details a {
            color: #000;
            text-decoration: none;
        }

        .contact-details a:hover {
            color: #2e933c;
        }


        /* Tags and Badges */
        .tags {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .badge {
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.875rem;
        }

        .badge-green-1 {
            background: rgba(99, 193, 50, 0.2);
            color: #2a7221;
        }

        .badge-green-2 {
            background: rgba(46, 147, 60, 0.2);
            color: #2a7221;
        }

        .badge-green-3 {
            background: rgba(42, 114, 33, 0.2);
            color: #2a7221;
        }

        /* Quick Facts */
        .facts-card {
            background: #f3f4f6;
            border-radius: 0.5rem;
            padding: 2rem;
        }

        .facts-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #000;
        }

        .facts-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .facts-list li {
            color: #000;
        }
        /* Footer */
        .footer {
            background-color: #2a7221;
            color: white;
            padding: 2rem 0;
            text-align: center;
        }

        /* Responsive Design */
        @media (min-width: 768px) {
            .nav-links {
                display: flex;
            }

            .mobile-menu-btn {
                display: none;
            }

            .grid-2 {
                grid-template-columns: repeat(2, 1fr);
            }

            .about-grid {
                grid-template-columns: 2fr 1.15fr;
            }

            .me-title {
                font-size: 4rem;
            }

            .me-subtitle {
                font-size: 1.35rem;
            }

            .education-header {
                flex-direction: row;
                justify-content: space-between;
                align-items: flex-start;
            }

            .education-date {
                margin-top: 0;
            }

            .timeline::before {
                left: 50%;
                transform: translateX(-50%);
            }

            .timeline-item:nth-child(odd) {
                text-align: right;
            }

            .timeline-item:nth-child(odd) .timeline-content {
                margin-left: 0;
                margin-right: 3rem;
            }

            .timeline-item:nth-child(even) .timeline-content {
                margin-left: 3rem;
                margin-right: 0;
            }

            .timeline-dot {
                left: 50%;
                transform: translateX(-50%);
            }

            .paper-footer {
                flex-wrap: nowrap;
            }

            
        }

        @media (min-width: 1024px) {
            .grid-3 {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 767px) {
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
        }

        /* Background Sections */
        .bg-white {
            background-color: white;
        }

        .bg-gray {
            background-color: #f9fafb;
        }

        /* Utility Classes */
        .hidden {
            display: none;
        }

        .text-center {
            text-align: center;
        }

        .mb-2 {
            margin-bottom: 0.5rem;
        }

        .mb-4 {
            margin-bottom: 1rem;
        }

        .mb-6 {
            margin-bottom: 1.5rem;
        }

        .mb-8 {
            margin-bottom: 2rem;
        }
