/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
}

body {
    background-color: #eae9e9;
    color: #333;
    line-height: 1.6;
}


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

.section {
    padding: 2rem 0;
    text-align: center;
}

h1{
    text-transform: uppercase;
    color: #333;
    text-align: left;

}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #D6008F;
}

.btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #D6008F;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background-color: white;
    color: #D6008F;
    border: 2px solid #D6008F;
}

/* Base Styles */
nav {
    position: sticky;
    top: 0;
    width: 100%;
    background: #070707;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000; /* Ensures it stays above other elements */
}

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

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1em;
    padding: 10px;
    transition: 0.3s;
}

.nav-links a:hover {
    background-color: white;
    color: #D6008F;
    border: 2px solid #D6008F;
    /*background: black; */
    border-radius: 5px; 
}

/* Hide menu icon on larger screens */
.menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* Hide checkbox */
#menu-toggle {
    display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #D6008F;
        padding: 10px;
    }

    .nav-links li {
        text-align: center;
        padding: 10px;
    }

    /* Show Menu When Checkbox is Checked */
    #menu-toggle:checked + .menu-icon + .nav-links {
        display: flex;
    }
}


/* Responsive Navigation */
 @media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        background: #D6008F;
        width: 100%;
        left: 0;
        top: 60px;
        padding: 1rem;
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
} 

/* Hero Section */
.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: justify;
    padding: 5rem 1rem;
    margin-top: 0px;
    gap: 5rem;
    background-color: #eae9e9;
    border: none;
    
}

.hero-text {
    max-width: 500px;
    margin-bottom: 1.5rem;
}

.hero-image img {
    width: 1000%;
    max-width: 200px;
    border-radius: 50%;
}

/* Programming Languages */
.language-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.language-list li {
    background-color: white;
    color: #333;
    border: 2px solid #333;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    list-style: none;
}

/* Education */

.edu_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .edu_item {
    padding: 10px;
    border: 1px solid #ccc;
  }
  @media (max-width: 768px) {
    .edu_container {
      grid-template-columns: 1fr;
    }
  }
    

/* Interests Section Styles */
#interests {
    text-align: center;
    padding: 50px 20px;
    /* background-color: #f9f9f9; */
}

#interests h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    margin-top: 20px;
}

.interest-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

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

.interest-card .icon {
    font-size: 40px;
    color: #D6008F;
    margin-bottom: 10px;
}

.interest-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.interest-card p {
    font-size: 1rem;
    color: #555;
}


/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.project-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

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

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #D6008F;
    color: white;
    padding: 0.8rem;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: white;
    color: #D6008F;
    border: 2px solid #D6008F;
}

.contact-methods{
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
@media (max-width: 768px) {
    .contact-methods {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items horizontally */
        gap: 1rem; /* Adjust gap for smaller screens */     
      grid-template-rows: 1fr;
    }
  }


/* Socials Section */
.social_items {
    margin-top: 2rem;
    display: flex;
    justify-content: center; /* Center items horizontally */
    gap: 2rem; /* Space between items */
    flex-wrap: wrap; /* Ensure responsiveness */
}

/* Individual Social Item */
.social_item {
    display: flex;
    flex-direction: column; /* Stack icon above text */
    align-items: center; /* Center align */
    font-size: 1.2rem; /* Adjust font size */
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Social Icon */
.social_item svg {
    width: 2.5rem;
    height: 2.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover Effect */
.social_item:hover {
    color: #D6008F;
    transform: scale(1.1); /* Slight zoom effect */
}

/* Hover Effect on Icon */
.social_item:hover svg {
    color: #D6008F;
    transform: rotate(10deg); /* Subtle rotation */
}

/* footer style */

footer {
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    text-align: center; /* Ensures text is centered */
    padding: 20px;
    background-color: transparent; /* Example background */
    color: #070707; /* Text color */
}


.footer{
    grid: 1fr;
    grid-column: 1/-1;
    width: 100%;
    margin: 0 auto;
   
    font-size: 1rem;
  
    align-content: center;
}