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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8f9fa;
    color: #212529;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: transparent;
    z-index: 1000;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

nav a {
color: #495057;
text-decoration: none;
font-size: 1rem;
font-weight: 500;
transition: color 0.3s ease;
padding: 0.5rem 1rem;
position: relative;
}


/* Fade-in animations */
.fade-in {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
opacity: 1;
transform: translateY(0);
}

/* Staggered delays for landing section */
.profile-container.fade-in {
transition-delay: 0.1s;
}

h1.fade-in {
transition-delay: 0.2s;
}

.subtitle.fade-in {
transition-delay: 0.3s;
}

.description.fade-in {
transition-delay: 0.4s;
}

.availability-badge.fade-in {
transition-delay: 0.5s;
}

.buttons.fade-in {
transition-delay: 0.6s;
}

.social-links.fade-in {
transition-delay: 0.7s;
}

/* Section animations */
.section-title.fade-in,
.about-text.fade-in,
.experience-card.fade-in,
.education-card.fade-in,
.recognition-card.fade-in,
.skill-category.fade-in,
.project-card.fade-in,
.blog-card.fade-in {
transition-delay: 0.1s;
}


nav a::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 2px;
background: #4361ee;
transition: all 0.3s ease;
transform: translateX(-50%);
}

nav a:hover {
color: #4361ee;
}

nav a:hover::after {
width: 80%;
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #212529;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
nav a::after {
display: none;
}

nav {
justify-content: flex-end;
padding: 1rem 1.5rem;
}

.hamburger {
display: flex;
}

.nav-links {
position: fixed;
top: 0;
right: -100%;
width: 70%;
height: 100vh;
flex-direction: column;
background: #ffffff;
padding: 5rem 2rem;
gap: 2rem;
transition: right 0.3s ease;
box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.nav-links.active {
right: 0;
}

.nav-links a {
font-size: 1.2rem;
padding: 1rem;
border-bottom: 1px solid #e9ecef;
width: 100%;
}

.nav-links a:hover {
color: #4361ee;
}
}

/* Main Container / Hero */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-top: 6rem;
    background: #f8f9fa;
}

/* Profile Image */
.profile-container {
    position: relative;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.profile-image-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #4361ee;
    box-shadow: 0 10px 40px rgba(67, 97, 238, 0.2);
    position: relative;
}

.profile-image-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #4361ee, #7209b7, #f72585, #4361ee);
    background-size: 300% 300%;
    border-radius: 50%;
    z-index: -1;
    animation: gradientRotate 3s linear infinite;
    opacity: 0.6;
}

@keyframes gradientRotate {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Availability Badge */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(67, 97, 238, 0.1);
    border: 1px solid rgba(67, 97, 238, 0.3);
    color: #4361ee;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pulse {
    width: 8px;
    height: 8px;
    background: #4361ee;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(67, 97, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(67, 97, 238, 0); }
}

/* Content */
.content {
    text-align: center;
    max-width: 800px;
}

h1 {
font-size: 2.25rem;
font-weight: 700;
margin-bottom: 0.5rem;
color: #212529;
}

.subtitle {
font-size: 1.4rem;
color: #4361ee;
margin-bottom: 1rem;
font-weight: 500;
min-height: 2rem;
}

.role-text {
display: inline-block;
}

.role-divider {
margin: 0 0.5rem;
color: #6c757d;
font-weight: 300;
}

.cursor {
display: inline-block;
color: #4361ee;
animation: blink 1s infinite;
margin-left: 2px;
}

@keyframes blink {
0%, 50% { opacity: 1; }
51%, 100% { opacity: 0; }
}

.description {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #212529;
    color: #ffffff;
    border: 2px solid #212529;
}

.btn-primary:hover {
    background: #4361ee;
    border-color: #4361ee;
}

.btn-secondary {
    background: transparent;
    color: #212529;
    border: 2px solid #212529;
}

.btn-secondary:hover {
    background: #212529;
    color: #ffffff;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-links a {
    color: #6c757d;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #4361ee;
    transform: translateY(-3px);
}

/* Section Titles */
.section-title,
.section-title-center {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #212529;
    text-align: center;
}

.section-title::after,
.section-title-center::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #4361ee;
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

/* About Section */
.about-section {
    padding: 4rem 2rem;
    background: #ffffff;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Experience Section */
.experience-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

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

.experience-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #4361ee;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.experience-content h3 {
    color: #212529;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.experience-content .company-name {
    color: #4361ee;
    font-size: 0.95rem;
}

.experience-meta {
    text-align: right;
    color: #6c757d;
    font-size: 0.85rem;
}

.experience-meta span {
    display: block;
    margin-bottom: 0.25rem;
}

.experience-points {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.experience-points li {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.experience-points li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #4361ee;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(67, 97, 238, 0.1);
    color: #4361ee;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Education Section */
.education-section {
padding: 4rem 2rem;
background: #ffffff;
}

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

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

.education-card {
background: #f8f9fa;
border: 1px solid #e9ecef;
border-radius: 12px;
padding: 1.5rem;
display: flex;
flex-direction: row;
gap: 1.5rem;
transition: all 0.3s ease;
}

.education-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
border-color: #4361ee;
}

.education-logo {
width: 80px;
min-width: 80px;
height: 80px;
border-radius: 10px;
overflow: hidden;
background: #ffffff;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #e9ecef;
}

.education-logo img {
width: 100%;
height: 100%;
object-fit: contain;
padding: 0.5rem;
}

.education-details {
flex: 1;
}

.education-details h3 {
color: #212529;
font-size: 1.15rem;
margin-bottom: 0.25rem;
}

.education-details h4 {
color: #4361ee;
font-size: 0.95rem;
font-weight: 500;
margin-bottom: 0.5rem;
}

.education-duration {
color: #6c757d;
font-size: 0.85rem;
margin-bottom: 0.75rem;
}

.education-coursework {
color: #6c757d;
font-size: 0.85rem;
line-height: 1.6;
}

.education-coursework strong {
color: #212529;
}

@media (max-width: 768px) {
.education-card {
flex-direction: column;
align-items: center;
text-align: center;
}

.education-logo {
width: 100px;
height: 100px;
}
}


/* Recognitions Section */
.recognitions-section {
padding: 4rem 2rem;
background: #f8f9fa;
}

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

.recognitions-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
}

.recognition-card {
background: #ffffff;
border: 1px solid #e9ecef;
border-radius: 12px;
padding: 1.5rem;
transition: all 0.3s ease;
}

.recognition-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
border-color: #4361ee;
}

.recognition-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.75rem;
}

.recognition-info {
display: flex;
flex-direction: column;
gap: 0.25rem;
}

.recognition-title {
color: #212529;
font-size: 1.1rem;
font-weight: 600;
margin: 0;
}

.recognition-company {
color: #4361ee;
font-size: 0.9rem;
}

.recognition-date {
color: #6c757d;
font-size: 0.85rem;
white-space: nowrap;
}

.recognition-description {
color: #6c757d;
font-size: 0.9rem;
line-height: 1.6;
margin: 0;
}

@media (max-width: 768px) {
.recognitions-grid {
grid-template-columns: 1fr;
}

.recognition-header {
flex-direction: column;
gap: 0.5rem;
}

.recognition-date {
align-self: flex-start;
}
}

/* Skills Section */
.skills-section {
    padding: 4rem 2rem;
    background: #ffffff;
}

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

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.skill-category {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: #4361ee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.skill-category h3 {
    color: #212529;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    color: #4361ee;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-item {
    background: rgba(67, 97, 238, 0.1);
    border: 1px solid rgba(67, 97, 238, 0.2);
    color: #4361ee;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(67, 97, 238, 0.2);
    border-color: #4361ee;
    color: #3730a3;
}


/* Projects Section */
#projects {
padding: 4rem 2rem;
background: #f8f9fa;
}

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

.projects-wrapper {
position: relative;
display: flex;
align-items: center;
gap: 1rem;
padding: 0 0.5rem;
}

.projects-slider {
overflow: hidden;
width: 100%;
}

.projects-grid {
display: flex;
transition: transform 0.5s ease;
gap: 1.5rem;
}

.project-card {
min-width: calc(33.333% - 1rem);
max-width: calc(33.333% - 1rem);
background: #ffffff;
border: 1px solid #e9ecef;
border-radius: 12px;
overflow: hidden;
transition: all 0.3s ease;
flex-shrink: 0;
}

.project-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
border-color: #4361ee;
}

.project-image {
width: 100%;
height: 180px;
overflow: hidden;
}

.project-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}

/* .project-card:hover .project-image img {
transform: scale(1.1);
} */

.project-content {
padding: 1rem;
}

.project-content h3 {
color: #212529;
margin-bottom: 0.5rem;
font-size: 1rem;
}

.project-content p {
color: #6c757d;
font-size: 0.85rem;
line-height: 1.5;
margin-bottom: 0.75rem;
}

.project-tech {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
margin-bottom: 0.75rem;
}

.project-tech span {
background: rgba(67, 97, 238, 0.1);
color: #4361ee;
padding: 0.2rem 0.5rem;
border-radius: 10px;
font-size: 0.7rem;
}

.project-links {
display: flex;
justify-content: center;
gap: 1rem;
}

.project-links a {
color: #4361ee;
text-decoration: none;
font-size: 0.9rem;
transition: color 0.3s ease;
}

.project-links a:hover {
color: #3730a3;
}

/* Slider Buttons */
.slider-btn {
background: #ffffff;
border: 1px solid #e9ecef;
width: 40px;
height: 40px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
color: #495057;
flex-shrink: 0;
}

.slider-btn:hover {
background: #4361ee;
border-color: #4361ee;
color: #ffffff;
}

.slider-btn:disabled {
opacity: 0.3;
cursor: not-allowed;
}

.slider-btn:disabled:hover {
background: #ffffff;
border-color: #e9ecef;
color: #495057;
}

/* Slider Dots */
.slider-dots {
display: flex;
justify-content: center;
gap: 0.5rem;
margin-top: 1.5rem;
}

.dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: #e9ecef;
cursor: pointer;
transition: all 0.3s ease;
}

.dot:hover {
background: #adb5bd;
}

.dot.active {
background: #4361ee;
width: 25px;
border-radius: 5px;
}

@media (max-width: 1024px) {
.project-card {
min-width: calc(50% - 0.75rem);
max-width: calc(50% - 0.75rem);
}
}

@media (max-width: 768px) {



    .subtitle {
        font-size: 18px; /* Reduce font size */
        letter-spacing: 0; /* Adjust letter spacing */
    }

    .project-card {
    min-width: 100%;
    max-width: 100%;
    }
    
    .slider-btn {
    width: 35px;
    height: 35px;
    }


    .role-divider {
        margin: 0 4px; /* Reduce space around the | */
    }
    }
    
    /* Blog Section */
    .blog-section {
    padding: 4rem 2rem;
    background: #ffffff;
    }
    
    .blog-container {
    max-width: 800px;
    margin: 0 auto;
    }
    
    .blogs-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    }
    
    .blog-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    }
    
    .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #4361ee;
    }
    
    .blog-image {
    width: 180px;
    min-width: 180px;
    overflow: hidden;
    }
    
    .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    }
    
    .blog-card:hover .blog-image img {
    transform: scale(1.1);
    }
    
    .blog-content {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    }
    
    .blog-content h3 {
    color: #212529;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    line-height: 1.4;
    }
    
    .blog-content p {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    }
    
    .blog-meta {
    color: #4361ee;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    }
    
    /* Contact Section */
    #contact {
    padding: 4rem 2rem;
    background: #f8f9fa;
    }
    
    .contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    }
    
    .contact-text {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    }
    
    .contact-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    }
    
    .contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    }
    
    .contact-link:hover {
    color: #4361ee;
    transform: translateY(-3px);
    }
    
    .contact-link i {
    font-size: 1.5rem;
    }
    
    .contact-link span {
    font-size: 0.9rem;
    }
    
    
    /* Footer */
    footer {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    }
    
    /* Responsive */
 /* Responsive */
@media (max-width: 1024px) {
    .skills-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .slider-dots {
        display: none; /* Hide slider dots in mobile view */
    }

    .projects-wrapper {
        position: relative; /* Set relative positioning for the wrapper */
        display: flex;
        align-items: center;
    }

    .slider-btn {
        position: absolute; /* Position arrows absolutely within the wrapper */
        top: 40%; /* Vertically center the arrows */
        transform: translateY(-50%); /* Adjust for perfect centering */
        background-color: #fff; /* Optional: Add a background for better visibility */
        border: none;
        cursor: pointer;
        z-index: 10; /* Ensure arrows are above other content */
    }

    .slider-btn-left {
        left: 0; /* Move the left arrow to the extreme left */
    }

    .slider-btn-right {
        right: 0; /* Move the right arrow to the extreme right */
    }

    .projects-slider {
        flex: 1; /* Allow the slider to take up the remaining space */
        overflow: hidden; /* Ensure content doesn't overflow */
    }

    h1 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 18px; /* Reduce font size */
        letter-spacing: 0; /* Adjust letter spacing */
    }

    .description {
        font-size: 1rem;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

    .profile-image-wrapper {
        width: 150px;
        height: 150px;
    }

    .skills-grid,
    .projects-grid,
    .recognitions-grid {
        grid-template-columns: 1fr;
    }

    .experience-header,
    .education-header,
    .recognition-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .experience-meta,
    .education-date,
    .recognition-date {
        text-align: left;
    }

    .blog-card {
        flex-direction: column;
    }

    .blog-image {
        width: 100%;
        height: 150px;
    }

    .role-divider {
        margin: 0 4px; /* Reduce space around the | */
    }

    .project-card {
        min-width: 100%;
        max-width: 100%;
    }
}