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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: #fff;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #6b46c1;
    font-style: italic;
}

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

.nav-links li a {
    text-decoration: none;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a i {
    margin-right: 5px;
}

.nav-links li a:hover {
    color: #6b46c1;
}
/* --- Hero Section Styles --- */
.hero-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
}

.greeting {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
}

.description {
    font-size: 18px;
    color: #718096;
    margin-bottom: 15px;
}

.divider {
    width: 80px;
    height: 3px;
    background-color: #e2e8f0;
    margin: 25px 0;
}

.stats {
    font-size: 16px;
    color: #718096;
    margin-bottom: 30px;
}

strong {
    color: #2d3748;
}

/*Social Icons*/
.social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.github {
    background: #333;
}

.linkedin {
    background: #0077b5;
}

.email {
    background: #ea4335;
}

.facebook {
    background: #1877f2;
}

.twitter {
    background: #1da1f2;
}

.discord {
    background: #5865f2;
}

.icon:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}






.btn-contact {
    background-color: #0056b3;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-contact:hover {
    background-color: #004494;
}


.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 10px solid #f7fafc;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

/* --- Work Experience Section --- */
.experience-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 8%;
}

.experience-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.experience-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background-color: #2b6cb0;
}

.card-header {
    display: flex;
    align-items: center;
    padding: 25px;
    background-color: #fcfdff;
}

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-right: 20px;
    object-fit: contain;
}

.company-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 5px;
}

.meta-info {
    font-size: 14px;
    color: #718096;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-info i {
    margin-right: 5px;
}

.card-body {
    padding: 25px;
    border-top: 1px solid #edf2f7;
}

.card-body h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}




/* Achievements Section Styles */
.achievements-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 8%;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.achievement-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
}

.achievement-image {
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.achievement-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.achievement-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
}

.achievement-info p {
    font-size: 15px;
    color: #718096;
    line-height: 1.6;
}




/* Profile Links Styling */
.profile-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.p-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: 10px;
    text-decoration: none;
    color: #4a5568;
    font-size: 14px;
    border: 1px solid transparent;
}

.p-link:hover {
    border-color: #3182ce;
    background: #fff;
}

.p-link img {
    width: 20px;
    height: 20px;
}

.p-link span {
    font-weight: 700;
    color: #2d3748;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 60px 0 30px;
    color: #1a202c;
}



/* --- Skills Section Styles --- */
.skills-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #3182ce;
    margin: 10px auto;
    border-radius: 2px;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
}

.skill-category {
    padding: 15px;
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #3182ce;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid #ebf8ff;
    padding-bottom: 12px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


.skill-badge {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-badge:hover {
    background: #3182ce;
    color: #ffffff;
    border-color: #3182ce;
    transform: scale(1.05);
}

.skill-badge i {
    font-size: 16px;
    color: inherit;
}




/* --- Problem Setting Styles --- */
.problem-setting-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 8%;
}

.setting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.setting-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    display: flex;
    gap: 20px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: 0.3s ease;
}

.setting-card:hover {
    transform: translateY(-5px);
    border-color: #3182ce;
    box-shadow: 0 12px 25px rgba(107, 70, 193, 0.1);
}

.setting-icon {
    font-size: 30px;
    color: #3182ce;
    background: #f3f0ff;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.setting-info h3 {
    font-size: 20px;
    color: #2d3748;
    margin-bottom: 5px;
}

.contest-name {
    color: #3182ce;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 15px;
}

.problem-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.problem-highlights li {
    font-size: 14px;
    color: #718096;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.problem-highlights li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #3182ce;
    font-weight: bold;
}

.setting-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.setting-tags span {
    background: #f7fafc;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.setting-stats {
    margin: 15px 0;
    padding: 10px;
    background: #fcfcfc;
    border-radius: 8px;
    font-size: 14px;
}




/* --- Projects Section Styles --- */
.projects-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}


/* Image & Overlay */
.project-image {
    position: relative;
    height: 200px;
    background: #f0f4f8;
    overflow: hidden;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(49, 130, 206, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Buttons */
.view-btn,
.github-btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.view-btn {
    background: #fff;
    color: #3182ce;
}

.github-btn {
    border: 1px solid #fff;
    color: #fff;
}

.view-btn:hover {
    background: #edf2f7;
}

/* Project Info */
.project-info {
    padding: 25px;
}

.project-info h3 {
    margin-bottom: 10px;
    color: #2d3748;
    font-size: 1.4rem;
}

.project-info p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #ebf8ff;
    color: #3182ce;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge {
    background: #fefcbf;
    color: #b7791f;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
}




/* --- Research Section Styles --- */
.research-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 8%;
}

.research-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.research-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.research-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #3182ce;
}

.research-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.status-badge {
    background: #e6fffa;
    color: #2c7a7b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.thesis {
    background: #fff5f5;
    color: #c53030;
}

.research-date {
    font-weight: 600;
    color: #718096;
}

.research-content h3 {
    font-size: 22px;
    color: #2d3748;
    margin-bottom: 10px;
}

.research-authors {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 12px;
}

.research-abstract {
    font-size: 15px;
    color: #718096;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.research-links {
    display: flex;
    gap: 15px;
}

.res-link {
    text-decoration: none;
    color: #3182ce;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.res-link:hover {
    text-decoration: underline;
}


/* --- Contact Form Styles --- */
.contact-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 8%;
}

.contact-container {
    display: flex;
    justify-content: center;
}

.contact-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    width: 100%;
    max-width: 700px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafc;
}


.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3182ce;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.btn-submit {
    background-color: #3182ce;
    color: white;
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    background-color: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.3);
}




.btn-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 18px;
    background-color: #3182ce;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-blog:hover {
    background-color: #000;
    transform: translateY(-2px);
}




.task-list {
    margin-top: 15px;
    padding-left: 20px;
}

.task-list li {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 8px;
}





/* --- Education Section Styles --- */

.education-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 700;
}

/* Container Layout */
.education-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Style */
.education-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 500px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #007bff;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Header inside Card */
.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Badge Style */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.university {
    background-color: #e3f2fd;
    color: #007bff;
}

.status-badge.college {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.education-date {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Content Styles */
.education-content h3 {
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 10px;
}

.education-degree {
    font-size: 1rem;
    color: #444;
    margin-bottom: 12px;
}

.education-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Meta Data (CGPA & Links) */
.education-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.cgpa-box {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.cgpa-box i {
    color: #fbc02d;
    /* Star icon color */
    margin-right: 5px;
}

.edu-link {
    text-decoration: none;
    color: #007bff;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.edu-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.footer {
    text-align: center;
    padding: 20px 0;
    background-color: #f7fafc;
    color: #718096;
    font-size: 14px;
    margin-top: 60px;
}