/* Import Hacker Font */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=Orbitron:wght@400;700&display=swap');



body, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

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

a {
    text-decoration: none;
    color: #0073b1;
}

/* Header */
.header {
    background-color: white;
    padding: 20px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
    position: sticky;
    top: 0;
    z-index: 1000;
}





button {
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
button:hover {
    background-color: #90ff8e;
}

.header img {
    height: 40px;
}

.container{
    max-width: 900px;
    margin: 0 auto;
}

/* Profile Section */
.profile-banner {
    background-image: url('https://media.licdn.com/dms/image/v2/D4E16AQENjTSRym5j7w/profile-displaybackgroundimage-shrink_350_1400/profile-displaybackgroundimage-shrink_350_1400/0/1734878235997?e=1743033600&v=beta&t=0Yfs7iCugJgtPn0_5e67DNdXoapI-Z6z7_2N6XfPqIQ');
    background-size: cover;
    background-position: center;
    height: 280px;
    position: relative;
    max-width: 1000px;
}

.profile-info {
    position: relative;
    margin: -60px auto 20px;
    max-width: 1000px;
    background-color: #f3f2ef;
    padding: 20px;
    border-radius: 0 0 10px 10px;
}

.profile-info .profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    position: absolute;
    top: -60px;
    left: 20px;
    display: block;
}

.profile-info h1 {
    margin-top: 40px; /* Add space below the image */
    font-size: 24px;
    font-weight: bold;
}

.profile-info p {
    margin-left: 0;
    font-size: 13px;
    color: #555;
}

.profile-info .details {
    margin-left: 0;
    margin-top: 10px;
}

.profile-info .details p {
    font-size: 14px;
    margin-bottom: 5px;
    color: #666;
}

.profile-info .actions {
    display: flex;
    margin-top: 10px;
    margin-left: 150px;
}

.profile-info .actions button {
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
}

.profile-info .actions button.primary {
    background-color: #0073b1;
    color: white;
}

.profile-info .actions button.secondary {
    background-color: #e5e5e5;
    color: #333;
}

/* Sections */
.section {
    max-width: 1000px;
    margin: 20px auto;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
}

.section h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.section ul {
    list-style: none;
}

.section ul li {
    padding: 10px 0;
}

.section ul li:last-child {
    border-bottom: none;
}

.experience, .education {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.experience img, .education img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 19px;
    margin-top: 10px;
}

.social-icons a {
    color: #555;
    font-size: 20px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: #03dac6;
}


/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

.footer p {
    color: #666;
    font-size: 14px;
}

@media (max-width: 768px) {
    .profile-info h1, .profile-info h2 {
        margin-left: 0;
    }
    .profile-banner{
        height: 190px;
    }

    
    .my-p{
        display: none;
    }

    .details {
        margin-left: 0;
    }

    .social-icons {
      display: none;
    }

    .experience, .education {
        flex-direction: column;
    }
}
.detail{
    font-weight: bold;
    font-size: 15px;
}
.e-details {
    margin-top: 10px;
    padding: 10px;
}

.e-details p.detail {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.e-details p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.e-details ol {
    list-style-type: none; /* Remove default numbering */
    padding-left: 0;
    margin-top: 10px;
}

.e-details ol li {
    position: relative;
    padding-left: 25px; /* Add some space for the checkmark */
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.e-details ol li::before {
    content: '✓'; /* Unicode for checkmark */
    position: absolute;
    left: 0;
    top: 0;
    color: #03dac6;
    font-size: 18px;
}

.profile-info .details p i {
    margin-right: 8px; /* Add space between the icon and the text */
    color: #03dac6; /* You can change the color to your liking */
    font-size: 16px; /* Adjust size if needed */
}
.t-layer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.t-layer .social-icons{
    margin-top: 20px;
}
.role{
    font-weight: bold;
    font-size: 13px;
}
.full{
    display: grid;
    grid-template: 300px/1fr 2fr;
    gap: 10px;
}
.left{
    border-radius: 10px;
    padding: 15px;
}
.left li{
    background-color: #fff;
    list-style: none;
    line-height: 1;
    margin: 10px 0 0 10px;
    text-align: left;
    border-radius: 5px;
    padding: 5px;
}


/* Logo Styling */
.logo {
    font-size: 32px;
    font-weight: bold;
    color: #03dac6;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}



.projects {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-card {
    display: grid;
    grid-template: 220px/1fr 4fr;
    gap: 15px;
}

.project-card img {
    border-radius: 8px;
    object-fit: cover;
    height: 200px;
    max-height: 250px;
}

.project-details {
    flex: 1;
}

.project-details h4 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.project-details p {
    margin: 0 0 10px;
    color: #666;
    font-size: 14px;
}

.project-details a {
    font-size: 14px;
    color: #03dac6;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.project-details a:hover {
    color: #03dac6;
}
.tech-badges {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tech-badges .badge {
    background-color: #f3f3f3;
    color: #555;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
}

.tech-badges .badge:hover {
    background-color: #03dac6;
    color: white;
    transition: 0.3s ease;
}


.left li {
    margin-bottom: 10px;
    font-size: 16px;
}

.left li i {
    margin-right: 10px;
    color: #03dac6; /* Adjust the color as needed */
}

.right .skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-badges .badge {
    background-color: #03b500; /* Primary badge color */
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}





/* Dark Mode Styles */
.dark-mode {
background-color: #2a2a2a;
color: #e0e0e0;
}

.dark-mode .header {
background-color: #2a2a2a;
color: #ffffff;
}

.dark-mode .profile-info,
.dark-mode .section,
.dark-mode .footer {
background-color: #2a2a2a;
color: #fff;
box-shadow: none;
}

.dark-mode a {
color: #03dac6;
}

.dark-mode button {
background-color: #606060;
color: white;
}

.dark-mode button:hover {
background-color: #03dac6;
}

/* Dark Mode Toggle Button */
#darkModeToggle {
background-color: #606060;
color: white;
padding: 10px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}

#darkModeToggle:hover {
background-color: #03dac6;
}


/* Toggle Switch */
.switch {
position: relative;
display: inline-block;
width: 50px;
height: 25px;
}

.switch input {
opacity: 0;
width: 0;
height: 0;
}

.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: .4s;
border-radius: 25px;
}

.slider::before {
position: absolute;
content: "";
height: 18px;
width: 18px;
left: 4px;
bottom: 3px;
background-color: white;
transition: .4s;
border-radius: 50%;
}

/* When the toggle is checked (ON) */
input:checked + .slider {
background-color: #03dac6;
}

input:checked + .slider::before {
transform: translateX(24px);
}

/* Contact Section Styling */
.dark-mode .section {
background-color: #1e1e1e;
color: #e0e0e0;
border-radius: 8px;
padding: 20px;
}

/* Contact Icons */
.dark-mode .section i {
color: #03dac6;
}

/* Links */
.dark-mode .section a {
color: #03dac6;
text-decoration: none;
}

.dark-mode .section a:hover {
color: #00ffcc;
}

/* Skill Badges */
.dark-mode .skill-badges .badge {
background-color: #333;
color: #03dac6;
padding: 5px 10px;
border-radius: 5px;
display: inline-block;
margin: 3px;
}

/* Smooth Transition */
body {
transition: background-color 0.3s, color 0.3s;
}


/* Profile Info Styling */
.dark-mode .profile-info {
/* background-color: #1e1e1e; */
color: #e0e0e0;
}

/* Profile Picture */
.dark-mode .profile-info .profile-pic {
border: 4px solid #03dac6;
border-radius: 50%;
}

/* Name */
.dark-mode .profile-info h1 {
color: #03dac6;
}

/* Social Icons */
.dark-mode .profile-info .social-icons a {
color: #03dac6;
transition: color 0.3s;
}

.dark-mode .profile-info .social-icons a:hover {
color: #00ffcc;
}

/* Role */
.dark-mode .profile-info .role {
font-weight: bold;
color: #e0e0e0;
}

/* Description */
.dark-mode .profile-info .my-p {
color: #ffffff;
font-size: 14px;
}

/* Location */
.dark-mode .profile-info .details p {
color: #ffffff;
}

/* Smooth Transition */
body {
transition: background-color 0.3s, color 0.3s;
}

.small-btn {
display: none; /* Show only icons */
}



/* Hide text on small screens */
@media screen and (max-width: 600px) {
.nav-btn {
display: none; /* Show only icons */
}
}


/* Navigation Buttons in Cover Photo */
.cover-nav {
position: absolute;
top: 20px; /* Adjust position */
right: 20px; /* Position buttons inside the cover photo */
display: flex;
gap: 10px;
}

/* Button Styles */
.small-btn {
background: rgba(0, 0, 0, 0.6);
color: white;
border: none;
padding: 10px 15px;
border-radius: 5px;
font-size: 16px;
display: flex;
align-items: center;
gap: 5px;
cursor: pointer;
transition: background 0.3s ease;
}

.small-btn i {
font-size: 18px;
}

/* On Hover */
.small-btn:hover {
background: rgba(0, 0, 0, 0.8);
}

/* Hide text on small screens */
@media screen and (max-width: 600px) {
.nav-text {
display: none; /* Show only icons */
}
}
@media screen and (min-width: 600px) {
.cover-nav {
display: none; /* Show only icons */
}
}



@media (max-width: 768px) {  
.project-card {
display: flex;
flex-direction: column;
gap: 10px;
}

.project-card img {
width: 100%;
height: auto;
}

.project-details p {
display: -webkit-box;
-webkit-line-clamp: 4; /* Limits to 4 lines */
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}

.tech-badges {
justify-content: center;
}

.project-details {
text-align: center; /* Centers text for small screens */
}
}

.project-divider {
border: none;
height: 1px;
background-color: #ddd;
margin: 20px 0;
width: 100%;
}

/* Styling for education separator */
.education-divider {
    border: none;
    height: 1px;
    background-color: #ddd; /* Light gray */
    margin: 15px 0; /* Space above and below */
    width: 100%;
}


.experience-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.experience-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.experience-details {
    flex: 1;
}

hr {
    border: none;
    height: 1px;
    background-color: #ccc;
    margin: 10px 0;
}





/* Education Section */
.education-container {
    list-style: none;
    padding: 0;
}

.education-item {
    display: flex;
    gap: 15px;
    background: transparent;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.education-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.education-details {
    flex: 1;
}

.degree {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.institution {
    font-size: 14px;
    color: #777;
}

.education-details ol {
    padding-left: 20px;
    margin-top: 5px;
}

.education-details ol li {
    font-size: 14px;
    color: #555;
}

/* Skills Inline Styling */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.skill-badge {
    background-color: #03dac6; /* Primary color */
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
}

