/* Font */

body {
    font-family: 'DM Sans', sans-serif;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
}

h1 {
    color: white; /* normal colour */
    transition: all 0.3s;
}

h1:hover {
    background: linear-gradient(135deg, #1e1b4b 0%, #5c0ae8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Scrolling */

html {
    scroll-behavior: smooth;
}

/* Set the page border*/
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Visited links colour*/

a:visited {
    color: inherit; /* keeps the original colour */
}



/* Navigation */
nav { 
    background-color: #333;
    top: 0; left: 0; right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    height: 60px;
    border-bottom: none;
    z-index: 1000;
    position: fixed;
}

/* Navigation Links */
.nav-links{
    display: flex;
    list-style: none;
    margin: 0;
    padding-right: 1rem;
    gap: 2rem; 
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #6b7280;
    font-size: 1.1rem;
    font-weight: normal;
    transition: color 0.3s;

}

.nav-links a:hover {
    color: white;
    font-weight: bold;
}

/* Navigation Name */
.nav-name {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1rem;

}


/* Intro Section */
.intro {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    text-align: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.intro-content {
    color: white;
    max-width: 600px;
}

.intro-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.5);
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(3); 
    padding-left: 5px;
    padding-right: 5px;
}

.intro h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.intro-subheading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    
}

.intro-subheading:hover {
    background: linear-gradient(135deg, #1e1b4b 0%, #5c0ae8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-info {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1rem;
}

.intro-info:hover {
    background: linear-gradient(135deg, #1e1b4b 0%, #5c0ae8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Sections */
section {
    padding: 5rem 2rem;
}

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

.section-heading {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #6b7280;
}

.section-label {
    font-size: 1rem;
    color:#764ba2;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.about-extra {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: -50px;
    margin-left: 20px;
    width: 400px;
}

.about-icon {
    width: 40px;
    height: 40px;
    background: #ede9fe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    font-size: 1rem;
    flex-shrink: 0;
}

.about-icon a:hover {
    color:#9e4cf5; 
    text-decoration: none;
}

.about-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    width: 500px;
}

.about-item-heading {
    font-size: 0.75rem;
    color: black;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    width: 20%;
}

.about-item-info {
    font-weight: 500;
    font-size: 0.9rem;
    color: #1a1a2e;
    padding-left: 1rem;
}

/* Skills */

.skills {
    background-color: #f8f9fa;
}

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

.skills-item {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    transition: transform 0.3s, box-shadow 0.3s;
}

.skills-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.skills-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.skills-item p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

.skills-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.icon-purple { background: #ede9fe; color: #4f46e5; }
.icon-blue { background: #e0f2fe; color: #0284c7; }
.icon-orange { background: #ffedd5; color: #f97316; }

.skills-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    background: #f3f4f6;
    color: #4b5563;
    font-weight: 500;
}

/* Projects */
.projects { background: white;}

.projects-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr 1fr;
}

.projects-item {
    background-color: #f8f9fa;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid #e9ecef;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: start;
    transition: transform 0.2s;
    max-width: 700px;
}

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

.projects-tag{ 
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    background: #a282c2;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 0.75rem;

}

.projects-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.projects-item p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Experience */
.experience {
    background-color: #f8f9fa;
}

.experience-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-item {
    background-color: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    display:grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    margin-bottom: 1rem;
    max-width: 700px;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.experience-date {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.experience-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.experience-company {
    font-size: 0.9rem;
    color: #764ba2;
    margin-bottom: 0.5rem;
}

.experience-description {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.experience-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
    
}

.experience-icon-green {
    background: #d1fae5;
    color: #10b981;
}

.experience-icon-blue {
    background: #e0f2fe;
    color: #0284c7;
}

.experience-icon-purple {
    background: #ede9fe;
    color: #4f46e5;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.contact .section-subtitle {
   color: white;
}

.contact .section-heading {
    color: white;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;   
    padding: 0.75rem 1.5rem;
    background-color: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.contact-link:hover {
    background-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

/* Responsive */

@media (max-width: 680px) {
    .hero h1 { font-size: 2rem; }
    .about-grid { grid-template-columns: 1fr; }
    .project-card { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}