body {
    background-color: #DCDCDC;
    color: #212121;
    padding: 0;
    margin: 0;
    font-family: 'Afacad', 'Segoe UI', 'Verdana', sans-serif;
    padding-top: 80px;
}

html {
    scroll-behavior: smooth;
}


#navigation {
    list-style-type: none;
    position: fixed;
    margin: 0;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-evenly;
    overflow: hidden;
    padding: 1rem 20px;
    width: 100%;
    background-color: black;
    align-items: center;
    box-sizing: border-box;
    z-index: 1000;
}

#navigation li a {
    display: block;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

#navigation li a.active {
    background-color: #00B0FF;
    color: #212121;
    font-weight: bold;
    border-bottom: 2px solid #00B0FF;
}

#navigation li a:hover {
    background-color: #00FFB3;
    color: black;
    opacity: 0.8;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    #navigation {
        flex-direction: column;
        padding: 0.5rem 10px;
        height: auto;
    }
    #navigation li a {
        padding: 8px 10px;
    }
    body {
        padding-top: 150px;
    }
}

.hero {
    color: #0a0606;
    text-align: center;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.name {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.title {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    border-right: 3px solid #00B0FF;
    animation:
      typing 3s steps(30) forwards, 
      blink-caret 0.75s step-end infinite;
    width: 0;
    max-width: 600px;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #00B0FF; }
}

.about-div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
}

#image {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.description {
    font-size: 1.1em;
    color: #333;
    max-width: 600px;
    line-height: 1.7;
    text-align: justify;
}

@media (max-width: 768px) {
    .about-div {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    #image {
        width: 200px;
        height: 200px;
    }
    .description {
        text-align: left;
        padding: 0 10px;
    }
    .name {
        font-size: 2.5rem;
    }
    .title {
        font-size: 1.5rem;
    }
    .typewriter {
        font-size: 0.9em;
    }
}

button#resume {
    background-color: #00B0FF;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    margin: 20px auto;
    display: block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button#resume:hover {
    background-color: #00FFB3;
    color: #212121;
    transform: translateY(-3px);
}


.projects-done {
    text-align: center;
    margin-top: 40px;
    font-size: 2.2em;
    color: #212121;
}

#projects_section > p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #555;
}

.projects {
    display: grid;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

#project1, #project2, #project3, #project5, #project6 {
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease-in-out;
}

#project1:hover, #project2:hover, #project3:hover, #project5:hover, #project6:hover {
    transform: translateY(-5px);
}

.project-link {
    font-family: 'Afacad', sans-serif;
    font-weight: bold;
    font-size: 1.6em;
    color: #00B0FF;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
}

.project-link:hover {
    text-decoration: underline;
    color: #00FFB3;
}

#project1 p, #project2 p, #project3 p, #project5 p, #project6 p {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #444;
}

p.in-progress {
    display: inline;
    margin-left: 5px;
    font-style: italic;
    color: #888;
}

.project-tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    margin-top: 15px;
    align-items: center;
}

.project-tech-icons img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tech-item img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-bottom: 3px;
}

.tech-item span {
    font-size: 0.75em;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60px;
}


#techstacks_sec {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 40px auto;
}

#tech {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 30px;
}

.skills-group {
    margin-bottom: 40px;
    text-align: center;
}

.skills-group h3 {
    font-size: 1.6em;
    color: #00B0FF;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
}

.skills-grid {
    display: grid;
   
    grid-template-columns: repeat(auto-fit, minmax(120px, 180px)); 
    gap: 20px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.langauges {
    text-align: center;
    padding: 15px 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fcfcfc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.langauges:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.langauges img {
    width: 48px; 
    height: 48px; 
    object-fit: contain;
    margin: 0 auto 8px auto;
    display: block;
}

.langauges .langauge {
    color: #212121;
    font-weight: 500;
    margin: 0;
    font-size: 1em;
}

#academics {
    padding: 40px 20px;
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

#edu {
    font-size: 2.2em;
    margin-bottom: 30px;
}

#Education, #University {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}

#Education strong, #University strong {
    color: #00B0FF;
}
#Education a, #University a {
    color: #00B0FF;
    text-decoration: none;
}
#Education a:hover, #University a:hover {
    text-decoration: underline;
}

#credentials {
    padding: 40px 20px;
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

#courses {
    font-size: 2.2em;
    margin-bottom: 30px;
}

#Certifications {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.certs {
    list-style: disc;
    padding-left: 20px;
}

.certs li {
    margin-bottom: 8px;
    font-size: 1.05em;
    color: #444;
}

#contacts_sec {
    padding: 40px 20px;
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

#deets, #call {
    font-size: 2.2em;
    margin-bottom: 30px;
    color: #212121;
}

.contacts {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.email img, .profile img, .whatsApp img {
    width: 48px;
    height: 48px;
    transition: transform 0.2s ease;
}

.email img:hover, .profile img:hover, .whatsApp img:hover {
    transform: translateY(-5px);
}

#contactForm {
    background: #A7B49E;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#contactForm label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    font-size: 1.05em;
}

#contactForm input,
#contactForm textarea {
    width: calc(100% - 24px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Afacad', sans-serif;
    font-size: 1em;
}

#contactForm input:focus,
#contactForm textarea:focus {
    border-color: #00B0FF;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 176, 255, 0.2);
}

[required]:placeholder-shown {
    border-color: #ccc;
}

#message {
    height: 150px;
    width: 600px;
    resize: vertical;
}

button#send {
    background-color: #00B0FF;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 20px;
    align-self: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button#send:hover {
    background-color: #00FFB3;
    color: #212121;
    transform: translateY(-3px);
}

footer {
    text-align: center;
    font-size: 0.9em;
    font-weight: 300;
    color: #555;
    padding: 20px 0;
    border-top: 1px solid #eee;
    margin-top: 50px;
}

footer #github {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
    transition: transform 0.2s ease;
}

footer #github:hover {
    transform: scale(1.1);
}

footer p {
    margin: 5px 0 0 0;
}

a:visited {
    color: #00B0FF;
}

h1, h2, h3 {
    margin: 20px 0;
}