/* Global Styles */
:root {
    --primary-color: #2ecc71;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --transition: all 0.3s ease;
}

/* Dark mode styles */
.dark {
    --text-color: #fff;
    --light-bg: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    /* width: 96%; */
    /* justify-self: center; */
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
    z-index: 1000;
}

/* .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
} */

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    font-size: 18px;
    /* border: 1px solid rgb(11, 0, 71); */
    border-radius: 15%;
    margin-left: 10px;
    margin-right: 10px;
    /* background-color: rgb(11, 0, 71); */
    /* box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1); */
}

.nav-links li a:hover {
    color: var(--primary-color);
}

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

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: rgb(243, 243, 243);
}

.hero-img :hover {
    transform: translateY(-3px);
}

/* Developer Profiles Section */
.profiles {
    padding: 4rem 0;
}

.dev-profile-box {
    /* background-color: rgba(31, 41, 55, 0.5); */
    backdrop-filter: blur(10px);
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    /* background-color: rgb(2, 2, 55); */
}

.dev-profile-box-inner a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    padding: 1rem;
    border-radius: 12px;
    /* background-color: rgba(255, 255, 255, 0.1); */
    /* background-color: rgb(38, 2, 58); */
    transition: all 0.3s ease;
    /* box-shadow: 0 0 20px rgba(255, 255, 255, 0.1); */
    /* box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1); */
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.dev-profile-box-inner a:hover {
    transform: scale(1.1);
    /* background-color: rgba(255, 255, 255, 0.2); */
}

.profiles h2 {
    font-size: 24px;
}

.dev-profile-box-inner svg,
.dev-profile-box-inner img {
    width: 100%;
    height: 100%;
    fill: currentColor;
    /* color: rgb(3, 56, 249); */
    color: rgb(86, 0, 247);
    transform: translateY(-3px);
}
    

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

#home h1 {
    font-size: 56px;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgb(92, 1, 220);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    margin-top: 2rem;
    transition: var(--transition);
    color: rgb(231, 231, 231);
    background-color: #3b82f6;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    background: #2563eb;
}

/* About Section */

.download-cv {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
}

/* Skills Section */
.skills {
    padding: 5rem 10%;
}

.skills-container, .projects-grid {
    position: relative;
    width: 100%;
    padding: 2rem 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgb(200, 255, 0) transparent;
    /* border: 3px solid rgb(255, 255, 255); */
    background-color: rgb(2, 2, 55);
    border-radius: 3%;
    
}

.projects-grid::-webkit-scrollbar {
    height: 8px;
}

.projects-grid::-webkit-scrollbar-track {
    background: transparent;
}

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

.skills-carousel, .projects-carousel {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    min-width: max-content;
}

.project-card {
    /* scroll-snap-align: start; */
    min-width: 350px;
}


.skill-card {
    /* scroll-snap-align: start; */
    padding: 2rem;
    text-align: center;
    /* background: white; */
    border-radius: 10px;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
    transition: var(--transition);
    min-width: 300px;
    /* box-shadow: 0 2px 10px rgba(253, 251, 251, 0.1); */
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.5);
    background-color: rgb(38, 2, 58);

}

.skill-card h3 {
    color: #2ecc71;
    font-weight: 700;
    font-size: 20px;
}


.skills-carousel:first-child {
  margin-left: 2rem;
}

.skills-carousel:last-child {
  margin-right: 2rem;
}

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

.skill-card i {
    font-size: 2.5rem;
    /* color: var(--primary-color); */
    color: rgb(3, 56, 249);
    margin-bottom: 1rem;
}

.skills-container::-webkit-scrollbar {
    height: 8px;
}

.skills-container::-webkit-scrollbar-track {
    background: transparent;
}

.skills-container::-webkit-scrollbar-thumb {
    /* background-color: var(--primary-color); */
    border-radius: 20px;
}

/* Projects Section */
.projects {
    padding: 5rem 10%;
    background: var(--light-bg);
}

.skill-card {
    flex: 0 0 300px;
    max-width: 300px;
}

.project-card {
    flex: 0 0 350px;
    max-width: 350px;
    margin: 0;
    /* background: white; */
    border-radius: 10px;
    overflow: hidden;
    background-color: rgb(38, 2, 58);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.5);
}

.project-card {
    /* background: white; */
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

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

.projects-carousel:first-child {
  margin-left: 2rem;
}

.projects-carousel:last-child {
  margin-right: 2rem;
}

.project-image {
    height: 200px;
    background: #ddd;
}

.project-card h3, .project-card p {
    padding: 1rem;
}

.project-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: rgb(3, 56, 249);
}

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


.project-link {
    color: #2ecc71;
    text-decoration: none;
}

/* Contact Section */
.contact {
    padding: 5rem 10%;
}

.contact h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--secondary-color);
    position: relative;
    font-size: 24px;
    color: white;
    font-weight: bolder;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #1e293b;
}

.submit-btn {
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    background-color: #3b82f6;
}

.submit-btn:hover {
    background: #27ae60;
    background: #2563eb;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    font-size: 2.3rem;
    align-items: center;
    justify-content: center;
}

.social-links a {
    color: var(--secondary-color);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 1.8rem;
    /* background: var(--secondary-color); */
    color: white;
    /* background-color: rgb(20, 2, 50); */
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.9);
    z-index: 1000;
}



.experience-container {
    padding-bottom: 70px;
}

.experience-card {
    background-color: rgb(38, 2, 58);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.5);
}

.experience-card h3 {
    color: rgb(3, 56, 249);
}

.experience-card p {
    color: rgb(200, 255, 0);
}

/* Education Section */
.education-timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.timeline-item {
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}






/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: block;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

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

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

/* Section Headers */

#skills h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--secondary-color);
    position: relative;
    font-size: 24px;
    color: white;
    font-weight: bolder;
}

#projects h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--secondary-color);
    position: relative;
    font-size: 24px;
    color: white;
    font-weight: bolder;
}

#experience h2 {
    text-align: center;
    padding-top: 4rem;
    margin-bottom: 4rem;
    color: var(--secondary-color);
    position: relative;
    font-size: 24px;
    color: white;
    font-weight: bolder;
}

/* h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 0.5rem auto;
    margin-bottom: 4rem;
}   */