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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* This is the typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* This is the buttons section */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 90, 39, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #2d5a27;
    border: 2px solid #2d5a27;
}

.btn-secondary:hover {
    background: #2d5a27;
    color: white;
    transform: translateY(-2px);
}

/* This is the navigation area */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
}

.theme-toggle {
    background: none;
    border: 2px solid #2d5a27;
    color: #2d5a27;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 0;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: #2d5a27;
    color: white;
    transform: scale(1.1);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle i {
    transition: all 0.3s ease;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2d5a27;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* This is the hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23000" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #2d5a27;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.highlight {
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.profile-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(45, 90, 39, 0.3);
    border: 4px solid #2d5a27;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* This is the section for styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    border-radius: 2px;
}

/* This is where we style the about section */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.stat h3 {
    font-size: 2rem;
    color: #2d5a27;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    margin: 0;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-photo {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(45, 90, 39, 0.3);
    border: 3px solid #2d5a27;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* This is where we style the skills section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    transform: translateY(0);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.skill-icon {
    font-size: 3rem;
    color: #2d5a27;
    margin-bottom: 1rem;
}

.skill-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

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

.skill-progress {
    position: relative;
    background: #f0f0f0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 2s ease-in-out;
}

.progress-text {
    position: absolute;
    top: -25px;
    right: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2d5a27;
}

/* This is where we style the projects section */
.projects {
    background: #f8f9fa;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

/* Projects Section */
.projects {
    background: #fff;
}

/* This is the github Activity Section */
.github-activity {
    background: #0a0f1e;
    padding: 80px 0;
}

.github-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #8892b0;
    margin-bottom: 3rem;
}

.github-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.github-stat-card {
    background: #112240;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid #1d3557;
}

.github-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 90, 39, 0.3);
    border-color: #2d5a27;
}

.github-stat-card .stat-icon {
    font-size: 2.5rem;
    color: #2d5a27;
    flex-shrink: 0;
}

.github-stat-card .stat-info h3 {
    font-size: 2rem;
    color: #64ffda;
    margin: 0;
    font-weight: 700;
}

.github-stat-card .stat-info p {
    margin: 0;
    color: #8892b0;
    font-size: 0.9rem;
}

.github-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.github-repos,
.github-events {
    background: #112240;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #1d3557;
}

.github-repos h3,
.github-events h3 {
    color: #ccd6f6;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.repos-list,
.activity-feed {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.repos-list::-webkit-scrollbar,
.activity-feed::-webkit-scrollbar {
    width: 8px;
}

.repos-list::-webkit-scrollbar-track,
.activity-feed::-webkit-scrollbar-track {
    background: #0a192f;
    border-radius: 4px;
}

.repos-list::-webkit-scrollbar-thumb,
.activity-feed::-webkit-scrollbar-thumb {
    background: #2d5a27;
    border-radius: 4px;
}

.repos-list::-webkit-scrollbar-thumb:hover,
.activity-feed::-webkit-scrollbar-thumb:hover {
    background: #3d7a37;
}

.repo-item {
    padding: 1.5rem;
    border: 1px solid #1d3557;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    background: #0a192f;
}

.repo-item:hover {
    border-color: #2d5a27;
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.2);
    transform: translateX(5px);
}

.repo-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.repo-header i {
    color: #2d5a27;
}

.repo-name {
    font-weight: 600;
    color: #64ffda;
    font-size: 1.1rem;
    text-decoration: none;
}

.repo-name:hover {
    text-decoration: underline;
    color: #2d5a27;
}

.repo-description {
    color: #8892b0;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.repo-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #8892b0;
}

.repo-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.activity-item {
    padding: 1rem;
    border-left: 3px solid #2d5a27;
    background: #0a192f;
    border-radius: 4px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: #112240;
    transform: translateX(5px);
}

.activity-type {
    font-weight: 600;
    color: #64ffda;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-type i {
    color: #2d5a27;
}

.activity-description {
    color: #8892b0;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.activity-time {
    color: #4a5568;
    font-size: 0.8rem;
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: #8892b0;
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.github-link-section {
    text-align: center;
}

.repos-list::-webkit-scrollbar,
.activity-feed::-webkit-scrollbar {
    width: 6px;
}

.repos-list::-webkit-scrollbar-track,
.activity-feed::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.repos-list::-webkit-scrollbar-thumb,
.activity-feed::-webkit-scrollbar-thumb {
    background: #2d5a27;
    border-radius: 4px;
}

/* This is the projects section */
.projects {
    background: #fff;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    border-color: #2d5a27;
    color: #2d5a27;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    color: white;
    border-color: #2d5a27;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

.project-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

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

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

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 90, 39, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.project-links-overlay {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.project-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    color: #2d5a27;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.project-btn:hover {
    background: #2d5a27;
    color: white;
    transform: translateY(-2px);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    font-size: 4rem;
    color: white;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: #333;
    margin-bottom: 1rem;
}

.project-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.tech-tag {
    background: #f0f0f0;
    color: #2d5a27;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #2d5a27;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #4a7c59;
}

.project-link i {
    margin-right: 0.5rem;
}

/* This is where we style the contact section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    position: relative;
}

.contact-item i {
    color: #2d5a27;
    margin-right: 1rem;
    width: 20px;
}

.copy-btn {
    background: none;
    border: none;
    color: #2d5a27;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.copy-btn:hover {
    background: #f0f0f0;
    opacity: 1;
    transform: scale(1.1);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d5a27;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #2d5a27;
    color: white;
    transform: translateY(-3px);
}

/* This is where we style the contact form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2d5a27;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* This is where we style the footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin: 0;
    color: #ccc;
}

/* This is where we style the scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(45, 90, 39, 0.4);
}

/* This is where we style the weather widget in navigation */
.weather-widget-nav {
    display: flex;
    align-items: center;
    background: rgba(45, 90, 39, 0.1);
    border: 1px solid rgba(45, 90, 39, 0.2);
    border-radius: 20px;
    padding: 6px 12px;
    margin: 0 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 70px;
}

.weather-widget-nav:hover {
    background: rgba(45, 90, 39, 0.15);
    transform: translateY(-1px);
}

.weather-content-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.weather-icon-nav {
    color: #2d5a27;
    font-size: 1rem;
}

.weather-temp-nav {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d5a27;
    line-height: 1;
    min-width: 35px;
}

/* This is where we style the weather condition in nav */
.weather-widget-nav.weather-clear {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
}

.weather-widget-nav.weather-rain {
    background: rgba(54, 162, 235, 0.1);
    border-color: rgba(54, 162, 235, 0.3);
}

.weather-widget-nav.weather-snow {
    background: rgba(173, 216, 230, 0.2);
    border-color: rgba(173, 216, 230, 0.4);
}

.weather-widget-nav.weather-clouds {
    background: rgba(108, 117, 125, 0.1);
    border-color: rgba(108, 117, 125, 0.3);
}

/* this is the Dark mode section for nav weather widget */
[data-theme="dark"] .weather-widget-nav {
    background: rgba(74, 124, 89, 0.2);
    border-color: rgba(74, 124, 89, 0.3);
}

[data-theme="dark"] .weather-widget-nav:hover {
    background: rgba(74, 124, 89, 0.3);
}

[data-theme="dark"] .weather-temp-nav,
[data-theme="dark"] .weather-icon-nav {
    color: #4a7c59;
}

/* This is where the now playing widget in navigation is located */
.now-playing-widget {
    display: flex;
    align-items: center;
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 20px;
    padding: 6px 12px;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 200px;
    overflow: hidden;
}

.now-playing-widget:hover {
    background: rgba(138, 43, 226, 0.15);
    transform: translateY(-1px);
}

.now-playing-widget.active {
    background: rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.4);
}

.now-playing-content {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.now-playing-icon {
    color: #8a2be2;
    font-size: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.now-playing-info {
    flex: 1;
    min-width: 0;
}

.now-playing-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #8a2be2;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.now-playing-status {
    font-size: 0.7rem;
    color: #666;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* This is where the activity states are located */
.now-playing-widget.learning .now-playing-icon {
    color: #8a2be2;
}

.now-playing-widget.coding .now-playing-icon {
    color: #2d5a27;
}

.now-playing-widget.idle .now-playing-icon {
    color: #999;
    animation: none;
}

/* This is where the dark mode for now playing widget is located */
[data-theme="dark"] .now-playing-widget {
    background: rgba(138, 43, 226, 0.15);
    border-color: rgba(138, 43, 226, 0.3);
}

[data-theme="dark"] .now-playing-widget:hover {
    background: rgba(138, 43, 226, 0.25);
}

[data-theme="dark"] .now-playing-text {
    color: #b19cd9;
}

[data-theme="dark"] .now-playing-status {
    color: #b0b0b0;
}
.weather-widget {
    display: none; /* This is where the old fixed position widget is hidden */
    position: fixed;
    top: 100px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(45, 90, 39, 0.1);
    z-index: 999;
    transition: all 0.3s ease;
    min-width: 180px;
    overflow: hidden;
}

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

.weather-content {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
}

.weather-icon {
    color: #2d5a27;
    font-size: 1.4rem;
    min-width: 24px;
}

.weather-info {
    flex: 1;
    min-width: 0;
}

.weather-temp {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.weather-location {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.2;
}

.weather-toggle {
    color: #2d5a27;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.weather-toggle:hover {
    background: rgba(45, 90, 39, 0.1);
}

.weather-details {
    padding: 12px 16px;
    border-top: 1px solid rgba(45, 90, 39, 0.1);
    background: rgba(45, 90, 39, 0.02);
}

.weather-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.8rem;
    color: #666;
}

.weather-detail:last-child {
    margin-bottom: 0;
}

.weather-detail i {
    color: #2d5a27;
    width: 14px;
    font-size: 0.75rem;
}

/* This is where we style the weather theme variations */
.weather-clear {
    background: linear-gradient(135deg, rgba(255, 223, 0, 0.1), rgba(255, 255, 255, 0.95));
}

.weather-clouds {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.1), rgba(255, 255, 255, 0.95));
}

.weather-rain,
.weather-drizzle {
    background: linear-gradient(135deg, rgba(54, 162, 235, 0.1), rgba(255, 255, 255, 0.95));
}

.weather-snow {
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.2), rgba(255, 255, 255, 0.95));
}

.weather-thunderstorm {
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.1), rgba(255, 255, 255, 0.95));
}

.weather-mist,
.weather-fog,
.weather-haze {
    background: linear-gradient(135deg, rgba(169, 169, 169, 0.1), rgba(255, 255, 255, 0.95));
}

/* This is where we style the temperature-based styling */
.weather-hot {
    border-left: 3px solid #ff6b35;
}

.weather-cold {
    border-left: 3px solid #74b9ff;
}

/* This is the Dark mode section for nav weather widget */
[data-theme="dark"] .weather-widget {
    background: rgba(26, 26, 26, 0.95);
    border-color: rgba(74, 124, 89, 0.2);
}

[data-theme="dark"] .weather-temp {
    color: #e0e0e0;
}

[data-theme="dark"] .weather-location {
    color: #b0b0b0;
}

[data-theme="dark"] .weather-detail {
    color: #b0b0b0;
}

[data-theme="dark"] .weather-details {
    background: rgba(74, 124, 89, 0.05);
    border-top-color: rgba(74, 124, 89, 0.2);
}

[data-theme="dark"] .weather-toggle:hover {
    background: rgba(74, 124, 89, 0.2);
}

/* This is the Responsive Design section */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .theme-toggle {
        margin: 1rem 0 0 0;
    }

    .weather-widget-nav {
        margin: 1rem 0 0 0;
        justify-content: center;
    }

    .now-playing-widget {
        margin: 1rem 0 0 0;
        justify-content: center;
        max-width: 180px;
    }

    .weather-widget {
        display: none; /* This is where we keep the weather widget hidden on mobile */
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 60px;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .profile-photo {
        width: 250px;
        height: 250px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

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

    .project-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .profile-photo {
        width: 200px;
        height: 200px;
    }

    .about-photo {
        width: 200px;
        height: 200px;
    }

    .skill-card,
    .project-card {
        margin: 0 10px;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* This is where we style the animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* This is where we style the stable positioning for animated elements */
.skill-card.visible,
.skill-card.animated {
    transform: translateY(0) !important;
    opacity: 1 !important;
    position: relative !important;
}

.contact-form.visible,
.contact-info.visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
    position: relative !important;
}

/* This is where we prevent transform changes during scroll */
.animated-stable {
    transform: none !important;
    will-change: auto !important;
}

/* This is where we style the utility classes */
.text-center {
    text-align: center;
}

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

.mt-2 {
    margin-top: 2rem;
}

/* This is the Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4a7c59 0%, #2d5a27 100%);
}

/* ==============================================
   THIS IS THE DARK MODE THEME AREA
   ============================================== */

[data-theme="dark"] {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

[data-theme="dark"] body {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

[data-theme="dark"] .navbar {
    background: rgba(26, 26, 26, 0.95);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(26, 26, 26, 0.98);
}

[data-theme="dark"] .nav-link {
    color: #e0e0e0;
}

[data-theme="dark"] .nav-link:hover {
    color: #4a7c59;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
}

[data-theme="dark"] .about {
    background: #2a2a2a;
}

[data-theme="dark"] .skills {
    background: #1a1a1a;
}

[data-theme="dark"] .projects {
    background: #1a1a1a;
}

[data-theme="dark"] .contact {
    background: #2a2a2a;
}

[data-theme="dark"] .skill-card,
[data-theme="dark"] .stat,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .project-card {
    background: #333;
    color: #e0e0e0;
    border-color: #444;
}

[data-theme="dark"] .filter-btn {
    background: #333;
    border-color: #555;
    color: #b0b0b0;
}

[data-theme="dark"] .filter-btn:hover {
    border-color: #4a7c59;
    color: #4a7c59;
}

[data-theme="dark"] .filter-btn.active {
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    color: white;
    border-color: #4a7c59;
}

[data-theme="dark"] .project-content h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .project-content p {
    color: #b0b0b0;
}

[data-theme="dark"] .tech-tag {
    background: #444;
    color: #4a7c59;
}

[data-theme="dark"] .skill-card h3,
[data-theme="dark"] .stat h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .skill-card p,
[data-theme="dark"] .stat p {
    color: #b0b0b0;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: #444;
    border-color: #555;
    color: #e0e0e0;
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: #888;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: #4a7c59;
}

[data-theme="dark"] .theme-toggle {
    border-color: #4a7c59;
    color: #4a7c59;
}

[data-theme="dark"] .theme-toggle:hover {
    background: #4a7c59;
    color: #1a1a1a;
}

[data-theme="dark"] .social-link {
    background: #333;
    color: #4a7c59;
}

[data-theme="dark"] .social-link:hover {
    background: #4a7c59;
    color: #1a1a1a;
}

[data-theme="dark"] .copy-btn {
    color: #4a7c59;
}

[data-theme="dark"] .copy-btn:hover {
    background: #333;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #2a2a2a;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4a7c59 0%, #2d5a27 100%);
}