* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #f7f9fc;
    color: #222;
}

/* Navigation */

header {
    background: #111827;
    padding: 18px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 25px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 15px;
}

nav ul li a:hover {
    color: #60a5fa;
}


/* Home */

#home {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #e0f2fe, #f8fafc);
}

.home-content {
    max-width: 800px;
}

.home-content > p:first-child {
    font-size: 20px;
}

.home-content h1 {
    font-size: 55px;
    margin: 10px 0;
}

.home-content h2 {
    font-size: 25px;
    margin-bottom: 15px;
    color: #2563eb;
}

.buttons {
    margin-top: 25px;
}

.buttons a {
    display: inline-block;
    padding: 12px 22px;
    margin: 5px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

.buttons a:hover {
    background: #1d4ed8;
}


/* Sections */

section {
    padding: 70px 10%;
}

section > h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #111827;
    border-bottom: 3px solid #2563eb;
    display: inline-block;
}


/* Education */

.education-item {
    background: white;
    padding: 20px;
    margin: 15px 0;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.education-item h3 {
    color: #2563eb;
}


/* Skills */

.skills-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.skill {
    background: white;
    padding: 25px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.skill h3 {
    margin-bottom: 10px;
    color: #2563eb;
}


/* Projects */

.project {
    background: white;
    padding: 25px;
    margin: 20px 0;
    border-left: 5px solid #2563eb;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.project h3 {
    margin-bottom: 10px;
}


/* Experience */

#experience ul {
    margin-left: 25px;
}

#experience li {
    margin: 12px 0;
}

#experience span {
    float: right;
    font-weight: bold;
}


/* Contact */

#contact {
background: #e5e7eb;
}

#contact .contact-box {
max-width: 700px;
margin: 20px auto;
padding: 30px;
background: white;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
text-align: center;
}

#contact .contact-box p {
margin: 10px 0;
padding: 0;
background: transparent;
box-shadow: none;
border: none;
border-radius: 0;
text-align: center;
}

#contact .contact-buttons {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 15px;
margin-top: 25px;
}

#contact .contact-btn {
display: inline-block;
padding: 12px 20px;
border-radius: 8px;
background: #2563eb;
color: white;
text-decoration: none;
font-weight: bold;
}

#contact .contact-btn:hover {
background: #1d4ed8;
}

/* Footer */

footer {
text-align: center;
padding: 20px;
background: #111827;
color: white;
}

/* Footer */

footer {
    text-align: center;
    padding: 20px;
    background: #111827;
    color: white;
}


/* Mobile */

@media (max-width: 768px) {

    nav {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .home-content h1 {
        font-size: 38px;
    }

    .home-content h2 {
        font-size: 20px;
    }

    .skills-container {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 500px) {

    .skills-container {
        grid-template-columns: 1fr;
    }

    section {
        padding: 50px 7%;
    }

}
.profile-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 25px;
    border: 4px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}
.social-links {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.social-links a {
    display: block;
    width: 140px;
    padding: 9px 18px;
    border: 2px solid #2563eb;
    border-radius: 20px;
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.social-links a:hover {
    background: #2563eb;
    color: white;
}
.education-item {
    position: relative;
    background: white;
    padding: 25px 30px;
    margin: 20px 0;
    border-left: 5px solid #2563eb;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.education-item:hover {
    transform: translateX(8px);
}

.education-item h3 {
    color: #2563eb;
    margin-bottom: 8px;
}

.education-item p {
    margin: 5px 0;
}
.skill {
    background: white;
    padding: 25px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.skill h3 {
    margin-bottom: 12px;
    color: #2563eb;
    font-size: 20px;
}

.skill p {
    color: #555;
    font-size: 16px;
}
.project {
    background: white;
    padding: 30px;
    margin: 25px 0;
    border-radius: 12px;
    border-left: 5px solid #2563eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.project h3 {
    color: #111827;
    font-size: 21px;
    margin-bottom: 12px;
}

.project p {
    color: #555;
    line-height: 1.7;
}
.project-buttons {
    margin-top: 20px;
}

.project-buttons a {
    display: inline-block;
    padding: 9px 18px;
    margin-right: 10px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.project-buttons a:hover {
    background: #1d4ed8;
}
#experience {
    background: #f1f5f9;
}

#experience > h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #2563eb;
    font-size: 22px;
}

#experience ul {
    background: white;
    padding: 25px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

#experience li {
    margin: 15px 0;
    line-height: 1.6;
}

#experience span {
    color: #2563eb;
}
#publication {
    background: #f8fafc;
}

#publication p {
    max-width: 900px;
    background: white;
    padding: 30px;
    border-left: 5px solid #2563eb;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
    font-size: 17px;
}
#strengths {
    background: #f8fafc;
}

#strengths p {
    max-width: 900px;
    background: white;
    padding: 25px 30px;
    border-left: 5px solid #2563eb;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-size: 17px;
    line-height: 1.8;
}
#contact {
    background: #f1f5f9;
}

#contact p {
    max-width: 900px;
    background: white;
    padding: 18px 25px;
    margin: 12px 0;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

#contact a {
    font-weight: bold;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}
/* Professional Navy & Blue Theme */

body {
    background: #f8fafc;
    color: #1e293b;
}

header {
    background: #0f172a;
}

section:nth-of-type(even) {
    background: #f1f5f9;
}

section h2 {
    color: #0f172a;
}

button,
.project-buttons a {
    background: #2563eb;
}

.project-buttons a:hover {
    background: #1d4ed8;
}

.skill h3,
.education-item h3 {
    color: #2563eb;
}

.project,
.skill,
.education-item,
.about-content,
#publication p,
#strengths p,
#contact p,
#experience ul {
    border-color: #2563eb;
}
/* ===== MODERN DARK PORTFOLIO BACKGROUND ===== */

body {
    background: #050b24 !important;
    color: #e5e7eb;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: #4f46e5;
    filter: blur(140px);
    opacity: 0.35;
    top: -100px;
    left: -150px;
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #7c3aed;
    filter: blur(160px);
    opacity: 0.30;
    right: -180px;
    bottom: -100px;
    z-index: -1;
}

/* Let the glowing background show through */
section {
    background: transparent !important;
}

header {
    background: rgba(3, 7, 25, 0.92);
}

footer {
    background: #030719;
}
/* ===== FIX TEXT VISIBILITY ===== */

section {
    color: #e2e8f0 !important;
}

section h2 {
    color: #ffffff !important;
}

section h2::after {
    background: #60a5fa !important;
}

/* Cards */
.about-content,
.education-item,
.skill,
.project,
#experience ul,
#publication p,
#strengths p,
#contact p {
    background: rgba(255, 255, 255, 0.96) !important;
    color: #334155 !important;
}

/* Card text */
.about-content p,
.education-item p,
.skill p,
.project p,
#experience li,
#publication p,
#strengths p,
#contact p {
    color: #334155 !important;
}

/* Card headings */
.education-item h3,
.skill h3,
.project h3 {
    color: #2563eb !important;
}

/* Dates */
#experience span,
#certifications span,
#workshops span {
    color: #2563eb !important;
}
#experience,
#certifications,
#workshops {
    padding-left: 10%;
    padding-right: 10%;
}

#experience h2,
#certifications h2,
#workshops h2 {
    text-align: left;
    margin-left: 0;
}

#experience ul,
#certifications ul,
#workshops ul {
    margin-left: 0;
}
#experience,
#certifications,
#workshops {
    padding-left: 10%;
    padding-right: 10%;
}

#experience h2,
#certifications h2,
#workshops h2 {
    text-align: left;
    margin-left: 0;
}

#experience ul,
#certifications ul,
#workshops ul {
    margin-left: 0;
}
/* Blue accent line for all important cards */

.skill,
.project,
.education-item,
.about-content,
#experience ul,
#certifications ul,
#workshops ul,
#publication p,
#strengths p,
#contact p {
    border-left: 5px solid #2563eb !important;
}
/* Remove white card backgrounds */
.about-content,
.education-item,
.skill,
.project,
#experience ul,
#certifications ul,
#workshops ul,
#publication p,
#strengths p,
#contact p {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #e5e7eb !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
/* ===== MAKE ALL TEXT CLEAR ===== */

body {
    color: #ffffff !important;
}

section,
section p,
section li {
    color: #f1f5f9 !important;
}

section h2 {
    color: #ffffff !important;
}

section h3 {
    color: #60a5fa !important;
}

.about-content p,
.education-item p,
.skill p,
.project p,
#experience li,
#certifications li,
#workshops li,
#publication p,
#strengths p,
#contact p {
    color: #f1f5f9 !important;
}

#experience span,
#certifications span,
#workshops span {
    color: #93c5fd !important;
}
/* ===== UNIFORM BORDER GLOW ===== */

.about-content,
.education-item,
.skill,
.project,
#experience ul,
#certifications ul,
#workshops ul,
#strengths p,
#contact .contact-box {
    transition: border-color 0.3s ease !important;
}

.about-content:hover,
.education-item:hover,
.skill:hover,
.project:hover,
#experience ul:hover,
#certifications ul:hover,
#workshops ul:hover,
#strengths p:hover,
#contact .contact-box:hover {
    border-color: #60a5fa !important;
}
/* ===== ABOUT ME SPACING ===== */

.about-content {
    padding: 30px 35px !important;
}

.about-content p {
    margin-left: 5px;
    margin-right: 5px;
}
/* ===== ABOUT ME - MATCH OTHER CARDS ===== */

.about-content {
    background: rgba(255, 255, 255, 0.06) !important;
    border-left: 5px solid #2563eb !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    padding: 30px 35px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
/* Project Icons */
.project-icon {
    font-size: 45px;
    margin-bottom: 15px;
    text-align: center;
}
.project-status {
    display: inline-block;
    padding: 8px 18px;
    margin-top: 15px;
    border: 1px solid #60a5fa;
    border-radius: 20px;
    color: #60a5fa !important;
    background: rgba(96, 165, 250, 0.12);
    font-size: 14px;
    font-weight: bold;
}
/* Project Focus and Technologies Styling */
.project-details {
    margin-top: 20px;
    text-align: left;
    line-height: 1.7;
}

.project-details strong {
    color: #60a5fa;
    font-size: 16px;
}

.project-details ul {
    margin: 8px 0 16px;
    padding-left: 22px;
}

.project-details li {
    margin-bottom: 6px;
}
.project-details strong {
    color: #60a5fa !important;
    font-weight: 700;
}

.project-details p {
    margin-bottom: 12px;
    overflow-wrap: anywhere;
}
/* Focus and Technologies headings */
.project-details strong {
    color: #60a5fa !important;
    font-weight: 700 !important;
    font-size: 17px;
}
.project-details p strong {
    color: #60a5fa !important;
    -webkit-text-fill-color: #60a5fa !important;
}
/* Modern Publication Card */
.publication-card {
    margin-top: 20px;
    padding: 24px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.publication-card:hover {
    transform: translateY(-4px);
    border-color: #60a5fa;
}

.publication-card h3 {
    color: #60a5fa;
    font-size: 22px;
    margin-bottom: 16px;
}

.publication-divider {
    height: 1px;
    background: rgba(96, 165, 250, 0.3);
    margin-bottom: 20px;
}

.publication-info {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.publication-info strong {
    color: #60a5fa;
    display: block;
    margin-bottom: 6px;
}

.publication-info p {
    margin: 0;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
/* Modern single-box publication layout */
#publication .publication-card {
    max-width: 700px;
    margin: 24px auto;
    padding: 28px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
    text-align: left;
}

#publication .publication-card h3 {
    margin: 0 0 8px;
    color: #60a5fa;
    font-size: 22px;
}

#publication .publication-card .publication-divider {
    height: 1px;
    background: rgba(96, 165, 250, 0.3);
    margin: 16px 0;
}

#publication .publication-card .publication-info {
    display: block;
    margin-bottom: 18px;
}

#publication .publication-card .publication-info strong {
    display: block;
    color: #60a5fa !important;
    margin-bottom: 6px;
}

#publication .publication-card .publication-info p {
    margin: 0;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

#publication .publication-card .publication-info:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    #publication .publication-card {
        padding: 20px;
    }
}
/* Keep conference and ISBN details simple */
#publication .publication-card .publication-info {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

#publication .publication-card .publication-info p {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

#publication .publication-card .publication-info strong {
    margin-bottom: 5px;
}
/* Remove separate box styling from publication details */
#publication .publication-card .publication-info,
#publication .publication-card .publication-info > div {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
}

#publication .publication-card .publication-info {
    display: block !important;
    margin-bottom: 18px !important;
}

#publication .publication-card .publication-info p {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
/* Compact and professional publication details */
#publication .publication-card {
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
}

#publication .publication-card .publication-info,
#publication .publication-card .publication-info > div {
    display: block !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

#publication .publication-card .publication-info {
    margin: 0 0 14px !important;
}

#publication .publication-card .publication-info:last-child {
    margin-bottom: 0 !important;
}

#publication .publication-card .publication-info p {
    margin: 4px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    line-height: 1.6;
}
/* FINAL FIX: Keep conference and ISBN inside one card */

#publication .publication-card .publication-info p {
    max-width: none !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    border-left: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    margin: 4px 0 0 !important;
    color: #f1f5f9 !important;
    line-height: 1.6;
}

#publication .publication-card .publication-info p:hover {
    transform: none !important;
    box-shadow: none !important;
}

#publication .publication-card {
    max-width: 600px !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding: 20px;
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #f7f9fc;
    color: #222;
}

/* Navigation */

header {
    background: #111827;
    padding: 18px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 25px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 15px;
}

nav ul li a:hover {
    color: #60a5fa;
}


/* Home */

#home {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #e0f2fe, #f8fafc);
}

.home-content {
    max-width: 800px;
}

.home-content > p:first-child {
    font-size: 20px;
}

.home-content h1 {
    font-size: 55px;
    margin: 10px 0;
}

.home-content h2 {
    font-size: 25px;
    margin-bottom: 15px;
    color: #2563eb;
}

.buttons {
    margin-top: 25px;
}

.buttons a {
    display: inline-block;
    padding: 12px 22px;
    margin: 5px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

.buttons a:hover {
    background: #1d4ed8;
}


/* Sections */

section {
    padding: 70px 10%;
}

section > h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #111827;
    border-bottom: 3px solid #2563eb;
    display: inline-block;
}


/* Education */

.education-item {
    background: white;
    padding: 20px;
    margin: 15px 0;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.education-item h3 {
    color: #2563eb;
}


/* Skills */

.skills-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.skill {
    background: white;
    padding: 25px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.skill h3 {
    margin-bottom: 10px;
    color: #2563eb;
}


/* Projects */

.project {
    background: white;
    padding: 25px;
    margin: 20px 0;
    border-left: 5px solid #2563eb;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.project h3 {
    margin-bottom: 10px;
}


/* Experience */

#experience ul {
    margin-left: 25px;
}

#experience li {
    margin: 12px 0;
}

#experience span {
    float: right;
    font-weight: bold;
}


/* Contact */

#contact {
    background: #e5e7eb;
}

#contact a {
    color: #2563eb;
}


/* Footer */

footer {
    text-align: center;
    padding: 20px;
    background: #111827;
    color: white;
}


/* Mobile */

@media (max-width: 768px) {

    nav {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .home-content h1 {
        font-size: 38px;
    }

    .home-content h2 {
        font-size: 20px;
    }

    .skills-container {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 500px) {

    .skills-container {
        grid-template-columns: 1fr;
    }

    section {
        padding: 50px 7%;
    }

}
.profile-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 25px;
    border: 4px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}
.social-links {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.social-links a {
    display: block;
    width: 140px;
    padding: 9px 18px;
    border: 2px solid #2563eb;
    border-radius: 20px;
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.social-links a:hover {
    background: #2563eb;
    color: white;
}
.education-item {
    position: relative;
    background: white;
    padding: 25px 30px;
    margin: 20px 0;
    border-left: 5px solid #2563eb;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.education-item:hover {
    transform: translateX(8px);
}

.education-item h3 {
    color: #2563eb;
    margin-bottom: 8px;
}

.education-item p {
    margin: 5px 0;
}
.skill {
    background: white;
    padding: 25px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.skill h3 {
    margin-bottom: 12px;
    color: #2563eb;
    font-size: 20px;
}

.skill p {
    color: #555;
    font-size: 16px;
}
.project {
    background: white;
    padding: 30px;
    margin: 25px 0;
    border-radius: 12px;
    border-left: 5px solid #2563eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.project h3 {
    color: #111827;
    font-size: 21px;
    margin-bottom: 12px;
}

.project p {
    color: #555;
    line-height: 1.7;
}
.project-buttons {
    margin-top: 20px;
}

.project-buttons a {
    display: inline-block;
    padding: 9px 18px;
    margin-right: 10px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.project-buttons a:hover {
    background: #1d4ed8;
}
#experience {
    background: #f1f5f9;
}

#experience > h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #2563eb;
    font-size: 22px;
}

#experience ul {
    background: white;
    padding: 25px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

#experience li {
    margin: 15px 0;
    line-height: 1.6;
}

#experience span {
    color: #2563eb;
}
#publication {
    background: #f8fafc;
}

#publication p {
    max-width: 900px;
    background: white;
    padding: 30px;
    border-left: 5px solid #2563eb;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
    font-size: 17px;
}
#strengths {
    background: #f8fafc;
}

#strengths p {
    max-width: 900px;
    background: white;
    padding: 25px 30px;
    border-left: 5px solid #2563eb;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-size: 17px;
    line-height: 1.8;
}
#contact {
    background: #f1f5f9;
}

#contact p {
    max-width: 900px;
    background: white;
    padding: 18px 25px;
    margin: 12px 0;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

#contact a {
    font-weight: bold;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}
/* Professional Navy & Blue Theme */

body {
    background: #f8fafc;
    color: #1e293b;
}

header {
    background: #0f172a;
}

section:nth-of-type(even) {
    background: #f1f5f9;
}

section h2 {
    color: #0f172a;
}

button,
.project-buttons a {
    background: #2563eb;
}

.project-buttons a:hover {
    background: #1d4ed8;
}

.skill h3,
.education-item h3 {
    color: #2563eb;
}

.project,
.skill,
.education-item,
.about-content,
#publication p,
#strengths p,
#contact p,
#experience ul {
    border-color: #2563eb;
}
/* ===== MODERN DARK PORTFOLIO BACKGROUND ===== */

body {
    background: #050b24 !important;
    color: #e5e7eb;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: #4f46e5;
    filter: blur(140px);
    opacity: 0.35;
    top: -100px;
    left: -150px;
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #7c3aed;
    filter: blur(160px);
    opacity: 0.30;
    right: -180px;
    bottom: -100px;
    z-index: -1;
}

/* Let the glowing background show through */
section {
    background: transparent !important;
}

header {
    background: rgba(3, 7, 25, 0.92);
}

footer {
    background: #030719;
}
/* ===== FIX TEXT VISIBILITY ===== */

section {
    color: #e2e8f0 !important;
}

section h2 {
    color: #ffffff !important;
}

section h2::after {
    background: #60a5fa !important;
}

/* Cards */
.about-content,
.education-item,
.skill,
.project,
#experience ul,
#publication p,
#strengths p,
#contact p {
    background: rgba(255, 255, 255, 0.96) !important;
    color: #334155 !important;
}

/* Card text */
.about-content p,
.education-item p,
.skill p,
.project p,
#experience li,
#publication p,
#strengths p,
#contact p {
    color: #334155 !important;
}

/* Card headings */
.education-item h3,
.skill h3,
.project h3 {
    color: #2563eb !important;
}

/* Dates */
#experience span,
#certifications span,
#workshops span {
    color: #2563eb !important;
}
#experience,
#certifications,
#workshops {
    padding-left: 10%;
    padding-right: 10%;
}

#experience h2,
#certifications h2,
#workshops h2 {
    text-align: left;
    margin-left: 0;
}

#experience ul,
#certifications ul,
#workshops ul {
    margin-left: 0;
}
#experience,
#certifications,
#workshops {
    padding-left: 10%;
    padding-right: 10%;
}

#experience h2,
#certifications h2,
#workshops h2 {
    text-align: left;
    margin-left: 0;
}

#experience ul,
#certifications ul,
#workshops ul {
    margin-left: 0;
}
/* Blue accent line for all important cards */

.skill,
.project,
.education-item,
.about-content,
#experience ul,
#certifications ul,
#workshops ul,
#publication p,
#strengths p,
#contact p {
    border-left: 5px solid #2563eb !important;
}
/* Remove white card backgrounds */
.about-content,
.education-item,
.skill,
.project,
#experience ul,
#certifications ul,
#workshops ul,
#publication p,
#strengths p,
#contact p {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #e5e7eb !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
/* ===== MAKE ALL TEXT CLEAR ===== */

body {
    color: #ffffff !important;
}

section,
section p,
section li {
    color: #f1f5f9 !important;
}

section h2 {
    color: #ffffff !important;
}

section h3 {
    color: #60a5fa !important;
}

.about-content p,
.education-item p,
.skill p,
.project p,
#experience li,
#certifications li,
#workshops li,
#publication p,
#strengths p,
#contact p {
    color: #f1f5f9 !important;
}

#experience span,
#certifications span,
#workshops span {
    color: #93c5fd !important;
}
/* ===== COMMON HOVER EFFECT ===== */

.about-content,
.education-item,
.skill,
.project,
#experience ul,
#certifications ul,
#workshops ul,
#publication p,
#strengths p,
#contact p {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content:hover,
.education-item:hover,
.skill:hover,
.project:hover,
#experience ul:hover,
#certifications ul:hover,
#workshops ul:hover,
#publication p:hover,
#strengths p:hover,
#contact p:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(96, 165, 250, 0.18);
}
/* ===== ABOUT ME SPACING ===== */

.about-content {
    padding: 30px 35px !important;
}

.about-content p {
    margin-left: 5px;
    margin-right: 5px;
}
/* ===== ABOUT ME - MATCH OTHER CARDS ===== */

.about-content {
    background: rgba(255, 255, 255, 0.06) !important;
    border-left: 5px solid #2563eb !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    padding: 30px 35px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
/* Project Icons */
.project-icon {
    font-size: 45px;
    margin-bottom: 15px;
    text-align: center;
}
.project-status {
    display: inline-block;
    padding: 8px 18px;
    margin-top: 15px;
    border: 1px solid #60a5fa;
    border-radius: 20px;
    color: #60a5fa !important;
    background: rgba(96, 165, 250, 0.12);
    font-size: 14px;
    font-weight: bold;
}
/* Project Focus and Technologies Styling */
.project-details {
    margin-top: 20px;
    text-align: left;
    line-height: 1.7;
}

.project-details strong {
    color: #60a5fa;
    font-size: 16px;
}

.project-details ul {
    margin: 8px 0 16px;
    padding-left: 22px;
}

.project-details li {
    margin-bottom: 6px;
}
.project-details strong {
    color: #60a5fa !important;
    font-weight: 700;
}

.project-details p {
    margin-bottom: 12px;
    overflow-wrap: anywhere;
}
/* Focus and Technologies headings */
.project-details strong {
    color: #60a5fa !important;
    font-weight: 700 !important;
    font-size: 17px;
}
.project-details p strong {
    color: #60a5fa !important;
    -webkit-text-fill-color: #60a5fa !important;
}
/* Modern Publication Card */
.publication-card {
    margin-top: 20px;
    padding: 24px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.publication-card:hover {
    transform: translateY(-4px);
    border-color: #60a5fa;
}

.publication-card h3 {
    color: #60a5fa;
    font-size: 22px;
    margin-bottom: 16px;
}

.publication-divider {
    height: 1px;
    background: rgba(96, 165, 250, 0.3);
    margin-bottom: 20px;
}

.publication-info {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.publication-info strong {
    color: #60a5fa;
    display: block;
    margin-bottom: 6px;
}

.publication-info p {
    margin: 0;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
/* Modern single-box publication layout */
#publication .publication-card {
    max-width: 700px;
    margin: 24px auto;
    padding: 28px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
    text-align: left;
}

#publication .publication-card h3 {
    margin: 0 0 8px;
    color: #60a5fa;
    font-size: 22px;
}

#publication .publication-card .publication-divider {
    height: 1px;
    background: rgba(96, 165, 250, 0.3);
    margin: 16px 0;
}

#publication .publication-card .publication-info {
    display: block;
    margin-bottom: 18px;
}

#publication .publication-card .publication-info strong {
    display: block;
    color: #60a5fa !important;
    margin-bottom: 6px;
}

#publication .publication-card .publication-info p {
    margin: 0;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

#publication .publication-card .publication-info:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    #publication .publication-card {
        padding: 20px;
    }
}
/* Keep conference and ISBN details simple */
#publication .publication-card .publication-info {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

#publication .publication-card .publication-info p {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

#publication .publication-card .publication-info strong {
    margin-bottom: 5px;
}
/* Remove separate box styling from publication details */
#publication .publication-card .publication-info,
#publication .publication-card .publication-info > div {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
}

#publication .publication-card .publication-info {
    display: block !important;
    margin-bottom: 18px !important;
}

#publication .publication-card .publication-info p {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
/* Compact and professional publication details */
#publication .publication-card {
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
}

#publication .publication-card .publication-info,
#publication .publication-card .publication-info > div {
    display: block !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

#publication .publication-card .publication-info {
    margin: 0 0 14px !important;
}

#publication .publication-card .publication-info:last-child {
    margin-bottom: 0 !important;
}

#publication .publication-card .publication-info p {
    margin: 4px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    line-height: 1.6;
}
/* FINAL FIX: Keep conference and ISBN inside one card */

#publication .publication-card .publication-info p {
    max-width: none !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    border-left: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    margin: 4px 0 0 !important;
    color: #f1f5f9 !important;
    line-height: 1.6;
}

#publication .publication-card .publication-info p:hover {
    transform: none !important;
    box-shadow: none !important;
}

#publication .publication-card {
    max-width: 600px !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding: 20px;
    box-sizing: border-box;
}
/* Internship Certificate Buttons */

#experience li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

#experience li > div {
    width: 100%;
}

#experience li a {
    display: inline-block;
    padding: 9px 18px;
    background: #2563eb;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    border: none;
    margin: 0;
}

#experience li a:hover {
    background: #1d4ed8;
}
/* ===== CERTIFICATIONS & WORKSHOPS SEPARATE CARDS ===== */

#certifications,
#workshops {
    padding-left: 10%;
    padding-right: 10%;
}

#certifications ul,
#workshops ul {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-left: 5px solid #2563eb !important;
    border-radius: 12px;
    padding: 25px 35px;
    margin: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

#certifications li,
#workshops li {
    margin: 15px 0;
    line-height: 1.6;
    color: #f1f5f9 !important;
}

#certifications span,
#workshops span {
    float: right;
    color: #93c5fd !important;
    font-weight: bold;
}
/* ===== FINAL ALIGNMENT FIX ===== */

#experience,
#certifications,
#workshops,
#publication,
#strengths,
#contact {
    padding-left: 10% !important;
    padding-right: 10% !important;
}

/* Keep headings in normal left position */
#experience h2,
#certifications h2,
#workshops h2,
#publication h2,
#strengths h2,
#contact h2 {
    margin-left: 0 !important;
    text-align: left !important;
}

/* Keep lists in normal position */
#experience ul,
#certifications ul,
#workshops ul {
    margin-left: 25px !important;
}

/* Keep publication card on the left */
#publication .publication-card {
    margin-left: 0 !important;
    margin-right: auto !important;
}
/* ===== FINAL FIX: CERTIFICATIONS, WORKSHOPS, PUBLICATION ===== */

/* Keep these sections in normal left alignment */
#certifications,
#workshops,
#publication,
#strengths,
#contact {
    padding-left: 10% !important;
    padding-right: 10% !important;
}

/* Section headings */
#certifications > h2,
#workshops > h2,
#publication > h2,
#strengths > h2,
#contact > h2 {
    margin-left: 0 !important;
    text-align: left !important;
}

/* Certifications box */
#certifications ul {
    width: 100% !important;
    margin: 0 !important;
    padding: 25px 35px !important;
    list-style: none !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-left: 5px solid #2563eb !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

/* Each certification */
#certifications li {
    margin: 15px 0 !important;
    padding: 12px 0 !important;
    line-height: 1.6 !important;
}

/* Certification date */
#certifications li span {
    float: right !important;
    color: #93c5fd !important;
    font-weight: bold !important;
}

/* Workshops box */
#workshops ul {
    width: 100% !important;
    margin: 0 !important;
    padding: 25px 35px !important;
    list-style: none !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-left: 5px solid #2563eb !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

/* Workshop item */
#workshops li {
    margin: 15px 0 !important;
    padding: 12px 0 !important;
    line-height: 1.6 !important;
}

/* Workshop date */
#workshops li span {
    float: right !important;
    color: #93c5fd !important;
    font-weight: bold !important;
}

/* Publication - keep it left aligned */
#publication .publication-card {
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: 700px !important;
    width: 100% !important;
}

/* Strengths - keep normal left position */
#strengths p {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}

/* Contact - keep normal left position */
#contact p {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}

/* ===== VIEW CERTIFICATE BUTTONS ===== */

#certifications li,
#workshops li {
    position: relative;
}

/* Button style */
.certificate-link {
    display: inline-block !important;
    margin-top: 8px !important;
    padding: 8px 18px !important;
    border: 1px solid #60a5fa !important;
    border-radius: 20px !important;
    color: #60a5fa !important;
    background: rgba(96, 165, 250, 0.12) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: bold !important;
}

.certificate-link:hover {
    background: #2563eb !important;
    color: white !important;
}

/* Publication button */
.publication-link {
    display: inline-block !important;
    margin-top: 15px !important;
    padding: 8px 18px !important;
    border: 1px solid #60a5fa !important;
    border-radius: 20px !important;
    color: #60a5fa !important;
    background: rgba(96, 165, 250, 0.12) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: bold !important;
}

.publication-link:hover {
    background: #2563eb !important;
    color: white !important;
}

/* Mobile */
@media (max-width: 600px) {

    #certifications li span,
    #workshops li span {
        float: none !important;
        display: block !important;
        margin-top: 5px !important;
    }

}
/* ===== FINAL FIX: INTERNSHIPS ALIGNMENT ===== */

#experience {
    padding-left: 10% !important;
    padding-right: 10% !important;
    width: 100% !important;
}

#experience > h2 {
    margin-left: 0 !important;
    text-align: left !important;
}

#experience ul {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}
/* ===== FINAL FIX: Internships, Certifications & Workshops ===== */

#experience,
#certifications,
#workshops {
    width: 100%;
    padding-left: 10% !important;
    padding-right: 10% !important;
    margin: 0 !important;
}

#experience h2,
#certifications h2,
#workshops h2 {
    margin-left: 0 !important;
    text-align: left !important;
}

#experience ul,
#certifications ul,
#workshops ul {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 25px 35px !important;
    box-sizing: border-box !important;
}

#experience li,
#certifications li,
#workshops li {
    width: 100% !important;
    margin: 15px 0 !important;
}

/* ===== VIEW CERTIFICATE BUTTONS ===== */

#experience li a,
#certifications li a,
#workshops li a {
    display: inline-block;
    margin-top: 8px;
    padding: 7px 15px;
    border: 1px solid #60a5fa;
    border-radius: 20px;
    color: #60a5fa !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

#experience li a:hover,
#certifications li a:hover,
#workshops li a:hover {
    background: #60a5fa;
    color: #050b24 !important;
}

/* ===== PUBLICATION, STRENGTHS & CONTACT BACK TO NORMAL WIDTH ===== */

#publication,
#strengths,
#contact {
    width: 100%;
    padding-left: 10% !important;
    padding-right: 10% !important;
    margin: 0 !important;
}

#publication > h2,
#strengths > h2,
#contact > h2 {
    margin-left: 0 !important;
    text-align: left !important;
}

#publication .publication-card {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* ===== MOBILE ===== */

@media (max-width: 500px) {
    #experience,
    #certifications,
    #workshops,
    #publication,
    #strengths,
    #contact {
        padding-left: 7% !important;
        padding-right: 7% !important;
    }
}
/* ===== FINAL CERTIFICATIONS & WORKSHOPS ALIGNMENT ===== */

#certifications,
#workshops {
    padding-left: 10% !important;
    padding-right: 10% !important;
}

#certifications > h2,
#workshops > h2 {
    display: inline-block !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#certifications ul,
#workshops ul {
    width: 100% !important;
    margin: 15px 0 0 0 !important;
    padding: 25px 35px !important;
    list-style: none !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-left: 5px solid #2563eb !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

#certifications li,
#workshops li {
    width: 100% !important;
    margin: 15px 0 !important;
    padding: 0 !important;
    color: #f1f5f9 !important;
    line-height: 1.6 !important;
}

#certifications li div,
#workshops li div {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 20px !important;
}

#certifications li strong,
#workshops li strong {
    color: #f1f5f9 !important;
    font-weight: bold !important;
}

#certifications li span,
#workshops li span {
    float: none !important;
    color: #93c5fd !important;
    font-weight: bold !important;
    white-space: nowrap !important;
}

#certifications li a,
#workshops li a {
    display: inline-block !important;
    margin-top: 8px !important;
    color: #60a5fa !important;
    text-decoration: none !important;
    font-weight: bold !important;
}

#certifications li a:hover,
#workshops li a:hover {
    text-decoration: underline !important;
}

/* Mobile */
@media (max-width: 600px) {

    #certifications,
    #workshops {
        padding-left: 7% !important;
        padding-right: 7% !important;
    }

    
    #certifications ul,
    #workshops ul {
        padding: 20px !important;
    }

    #certifications li div,
    #workshops li div {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 3px !important;
    }
}
/* ===== CERTIFICATE BUTTONS - SAME AS PROJECT BUTTONS ===== */

#experience li a,
#certifications li a,
#workshops li a {
    display: inline-block !important;
    padding: 9px 18px !important;
    margin-top: 8px !important;
    margin-right: 10px !important;
    background: #2563eb !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    font-weight: bold !important;
}

#experience li a:hover,
#certifications li a:hover,
#workshops li a:hover {
    background: #1d4ed8 !important;
}
/* Internship Certificate Buttons */

#experience li a {
    display: inline-block !important;
    padding: 9px 18px !important;
    margin-top: 8px !important;
    background: #2563eb !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    font-weight: bold !important;
}

#experience li a:hover {
    background: #1d4ed8 !important;
}


/* Certificate Buttons */
.certificate-link {
    display: inline-block !important;
    padding: 9px 18px !important;
    margin-top: 10px !important;
    background: #2563eb !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    font-weight: bold !important;
}

.certificate-link:hover {
    background: #1d4ed8 !important;
}
#certifications ul li a,
#workshops ul li a {
    display: inline-block !important;
    padding: 9px 18px !important;
    margin-top: 10px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    font-weight: bold !important;
}

#certifications ul li a:hover,
#workshops ul li a:hover {
    background: #1d4ed8 !important;
}
/* Match certificate and publication buttons with project buttons */
#certifications ul li a,
#workshops ul li a,
#internships ul li a,
#publication .certificate-link {
    display: inline-block !important;
    padding: 10px 18px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 6px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: bold !important;
    text-decoration: none !important;
}
/* FINAL BUTTON STYLE - INTERNSHIPS AND PUBLICATION */
#experience li a,
#internships li a,
#publication .certificate-link {
    display: inline-block !important;
    padding: 9px 18px !important;
    margin-top: 10px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 6px !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    line-height: normal !important;
}

#experience li a:hover,
#internships li a:hover,
#publication .certificate-link:hover {
    background: #1d4ed8 !important;
}
/* Publication blue left border */
#publication .publication-card {
    border-left: 5px solid #2563eb !important;
}
/* FINAL FIX: All certificate buttons match project buttons */

#experience li a,
#certifications li a,
#workshops li a,
#publication .certificate-link {
    display: inline-block !important;
    padding: 9px 18px !important;
    margin-top: 10px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    line-height: normal !important;
    -webkit-text-fill-color: #ffffff !important;
}

#experience li a:hover,
#experience li a:focus,
#experience li a:active,
#certifications li a:hover,
#certifications li a:focus,
#certifications li a:active,
#workshops li a:hover,
#workshops li a:focus,
#workshops li a:active,
#publication .certificate-link:hover,
#publication .certificate-link:focus,
#publication .certificate-link:active {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-decoration: none !important;
}
/* Contact Me - Single Box */

#contact .contact-box {
max-width: 700px;
margin: 20px auto;
padding: 30px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
text-align: center;
}

#contact .contact-box p {
display: block;
width: auto;
max-width: none;
margin: 16px 0;
padding: 0;
background: transparent !important;
border: none !important;
border-radius: 0 !important;
box-shadow: none !important;
transform: none !important;
}

#contact .contact-box p a {
color: inherit;
text-decoration: underline;
}

#contact .contact-box .contact-btn {
display: inline-block;
margin-top: 15px;
padding: 12px 24px;
border-radius: 8px;
background: #2563eb;
color: white;
text-decoration: none;
font-weight: bold;
}

#contact .contact-box .contact-btn:hover {
background: #1d4ed8;
}
/* Contact box alignment */

#contact .contact-box {
max-width: 900px;
margin: 20px 0;
padding: 25px;
text-align: left;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.12);
border-left: 4px solid #2563eb;
border-radius: 10px;
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

#contact .contact-box p {
text-align: left;
margin: 16px 0;
padding: 0;
background: transparent !important;
border: none !important;
box-shadow: none !important;
}

#contact .contact-box .contact-btn {
display: inline-block;
margin-top: 15px;
padding: 12px 24px;
background: #2563eb;
color: white;
border-radius: 8px;
text-decoration: none;
font-weight: bold;
}
/* FINAL CONTACT SECTION FIX */

#contact .contact-box {
width: 100%;
max-width: 900px;
margin: 20px 0 20px 0 !important;
padding: 25px;
box-sizing: border-box;
text-align: left !important;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.12);
border-left: 4px solid #2563eb !important;
border-radius: 10px;
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

#contact .contact-box p {
width: 100%;
max-width: none !important;
margin: 16px 0 !important;
padding: 0 !important;
text-align: left !important;
background: transparent !important;
border: none !important;
box-shadow: none !important;
transform: none !important;
}

#contact .contact-box p a {
color: #60a5fa !important;
text-decoration: underline !important;
font-weight: bold;
}

#contact .contact-box .contact-btn {
display: inline-block;
margin-top: 15px;
padding: 12px 24px;
background: #2563eb;
color: white !important;
border-radius: 8px;
text-decoration: none !important;
font-weight: bold;
}

#contact .contact-box .contact-btn:hover {
background: #1d4ed8;
}
/* Make only the three contact text links blue */
#contact .contact-box p a {
color: #007bff !important;
-webkit-text-fill-color: #007bff !important;
text-decoration: underline !important;
}
/* Make only the three contact text links blue */
#contact .contact-box p a {
color: #007bff !important;
-webkit-text-fill-color: #007bff !important;
text-decoration: underline !important;
}
#contact .contact-box {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contact .contact-box:hover {
transform: translateY(-8px);
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}
#contact .contact-box {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contact .contact-box:hover {
transform: translateY(-8px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
/* Education spacing */
#education .education-item:first-of-type {
    margin-top: 0;
}
/* ===== MATCH ABOUT ME SPACING FOR ALL SECTIONS ===== */

/* Projects */
#projects > h2 {
    margin-bottom: 25px !important;
}

#projects .project:first-of-type {
    margin-top: 0 !important;
}


/* Certifications */
#certifications > h2 {
    margin-bottom: 25px !important;
}

#certifications ul {
    margin-top: 0 !important;
}


/* Workshops */
#workshops > h2 {
    margin-bottom: 25px !important;
}

#workshops ul {
    margin-top: 0 !important;
}


/* Publications */
#publication > h2 {
    margin-bottom: 25px !important;
}

#publication .publication-card {
    margin-top: 0 !important;
}


/* Contact Me */
#contact > h2 {
    margin-bottom: 25px !important;
}

#contact .contact-box {
    margin-top: 0 !important;
}
/* ===== FINAL SECTION SPACING FIX ===== */

/* Certifications */
#certifications {
    padding-left: 10% !important;
    padding-right: 10% !important;
}

#certifications > h2 {
    margin-bottom: 25px !important;
    margin-left: 0 !important;
}

#certifications ul {
    margin-top: 0 !important;
    margin-left: 0 !important;
}


/* Workshops */
#workshops {
    padding-left: 10% !important;
    padding-right: 10% !important;
}

#workshops > h2 {
    margin-bottom: 25px !important;
    margin-left: 0 !important;
}

#workshops ul {
    margin-top: 0 !important;
    margin-left: 0 !important;
}


/* Publications */
#publication {
    padding-left: 10% !important;
    padding-right: 10% !important;
}

#publication > h2 {
    margin-bottom: 25px !important;
    margin-left: 0 !important;
}

#publication .publication-card {
    margin-top: 0 !important;
    margin-left: 0 !important;
}


/* Contact Me */
#contact {
    padding-left: 10% !important;
    padding-right: 10% !important;
}

#contact > h2 {
    margin-bottom: 25px !important;
    margin-left: 0 !important;
}
/* ===== SAME AS ABOUT ME ===== */

/* Certifications */
#certifications > h2,
#workshops > h2,
#publication > h2,
#contact > h2 {
    margin-bottom: 25px !important;
}

#certifications ul,
#workshops ul,
#publication .publication-card,
#contact .contact-box {
    margin-top: 0 !important;
}


/* Certifications & Workshops cards */
#certifications ul,
#workshops ul {
    padding: 30px 35px !important;
    border-left: 5px solid #2563eb !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.06) !important;
}


/* Publications */
#publication .publication-card {
    padding: 30px 35px !important;
    border-left: 5px solid #2563eb !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.06) !important;
}


/* Contact */
#contact .contact-box {
    padding: 30px 35px !important;
    border-left: 5px solid #2563eb !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

#contact .contact-box {
    margin-top: 0 !important;
    margin-left: 0 !important;
}
/* ===== CERTIFICATIONS - ABOUT ME SPACING ===== */

#certifications {
    padding-top: 70px;
    padding-bottom: 70px;
}

#certifications > h2 {
    margin-bottom: 25px !important;
}

#certifications ul {
    margin-top: 0 !important;
}
/* FINAL HOVER FIX */

.scroll-reveal.is-visible.about-content:hover,
.scroll-reveal.is-visible .about-content:hover,
.scroll-reveal.is-visible.education-item:hover,
.scroll-reveal.is-visible.skill:hover,
.scroll-reveal.is-visible.project:hover,
.scroll-reveal.is-visible.publication-card:hover,
.scroll-reveal.is-visible #publication .publication-card:hover,
.scroll-reveal.is-visible ul:hover,
.scroll-reveal.is-visible.contact-box:hover,
#contact .contact-box.scroll-reveal.is-visible:hover {
    translate: 0 -6px !important;
    box-shadow: 0 10px 25px rgba(96, 165, 250, 0.25) !important;
    transition: translate 0.3s ease, box-shadow 0.3s ease;
}

.scroll-reveal.is-visible.publication-card:hover,
#publication .publication-card:hover {
    border-color: #60a5fa !important;
}
/* Hover effects for all portfolio cards */

.about-content,
.education-item,
.project,
.skill,
.publication-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content:hover,
.education-item:hover,
.project:hover,
.skill:hover,
.publication-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(96, 165, 250, 0.25);
}
/* Certifications and Workshops - Matching Blue Shadow */

#certifications ul,
#workshops ul {
transition: box-shadow 0.3s ease !important;
}

#certifications ul:hover,
#workshops ul:hover {
box-shadow: 0 10px 25px rgba(96, 165, 250, 0.25) !important;
}
/* Blue border glow for all cards except Publications */
.about-content:hover,
.education-item:hover,
.skill:hover,
.project:hover,
#experience ul:hover,
#certifications ul:hover,
#workshops ul:hover,
#strengths p:hover,
#contact p:hover {
    border-color: #60a5fa !important;
    box-shadow:
        0 0 8px rgba(96, 165, 250, 0.5),
        0 0 18px rgba(96, 165, 250, 0.3) !important;
}
/* BLUE GLOW OUTLINE ON HOVER - OTHER CARDS ONLY */

.about-content:hover,
.education-item:hover,
.skill:hover,
.project:hover,
#experience ul:hover,
#certifications ul:hover,
#workshops ul:hover,
#strengths > p:hover,
#contact .contact-box:hover {
    outline: 1px solid #60a5fa !important;
    outline-offset: 0;
    box-shadow:
        0 0 8px rgba(96, 165, 250, 0.5),
        0 0 18px rgba(96, 165, 250, 0.3) !important;
}
/* BLUE GLOW ONLY ON HOVER */
.about-content:hover,
.education-item:hover,
.skill:hover,
.project:hover,
#experience ul:hover,
#certifications ul:hover,
#workshops ul:hover,
#strengths p:hover,
#contact p:hover {
    outline: 2px solid #60a5fa !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 12px #60a5fa !important;
}
/* ===== MATCH PUBLICATION BORDER HOVER EFFECT ===== */

.about-content,
.education-item,
.skill,
.project,
#experience ul,
#certifications ul,
#workshops ul,
#strengths p,
#contact .contact-box {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-content:hover,
.education-item:hover,
.skill:hover,
.project:hover,
#experience ul:hover,
#certifications ul:hover,
#workshops ul:hover,
#strengths p:hover,
#contact .contact-box:hover {
    border-color: #60a5fa !important;
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.5) !important;
}
/* SAME BORDER GLOW EFFECT AS PUBLICATIONS */

.about-content,
.education-item,
.skill,
.project,
#experience ul,
#certifications ul,
#workshops ul,
#strengths p,
#contact .contact-box,
/* PUBLICATIONS - NORMAL STATE */
#publication .publication-card {
    position: relative;
    border: 1px solid rgba(96, 165, 250, 0.35) !important;
    border-radius: 16px;
    box-shadow: none !important;
    outline: none !important;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* CONTACT - NORMAL STATE */
#contact .contact-box {
    position: relative;
    border: 1px solid rgba(96, 165, 250, 0.35) !important;
    border-radius: 16px;
    box-shadow: none !important;
    outline: none !important;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* HIDDEN OUTER BORDER */
#publication .publication-card::before,
#contact .contact-box::before {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid transparent;
    border-radius: 21px;
    pointer-events: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* HOVER - SHOW DOUBLE GLOW BORDER */
#publication .publication-card:hover,
#contact .contact-box:hover {
    border-color: #60a5fa !important;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.35) !important;
}

/* OUTER GLOW ONLY ON HOVER */
#publication .publication-card:hover::before,
#contact .contact-box:hover::before {
    border-color: rgba(96, 165, 250, 0.75);
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.35);
}
/* Keep the blue accent line on the left of all cards */

.about-content,
.education-item,
.skill,
.project,
#experience ul,
#certifications ul,
#workshops ul,
#strengths p,
#publication .publication-card,
#contact .contact-box {
    border-left: 4px solid #2563eb !important;
    border-radius: 12px;
}
/* Restore the original blue left accent without changing card layout */

.about-content,
.education-item,
.skill,
.project,
#experience ul,
#certifications ul,
#workshops ul,
#strengths p,
#publication .publication-card,
#contact .contact-box {
    border-left: 5px solid #2563eb !important;
}

/* Preserve the existing hover glow */
.about-content:hover,
.education-item:hover,
.skill:hover,
.project:hover,
#experience ul:hover,
#certifications ul:hover,
#workshops ul:hover,
#strengths p:hover,
#publication .publication-card:hover,
#contact .contact-box:hover {
    border-left-color: #2563eb !important;
}
/* FINAL FIX: Restore blue left accent without changing glow */

.about-content,
.education-item,
.skill,
.project,
#experience ul,
#certifications ul,
#workshops ul,
#strengths p,
#publication .publication-card,
#contact .contact-box {
    border-left: 5px solid #2563eb !important;
}

/* Preserve the blue accent while hovering */
.about-content:hover,
.education-item:hover,
.skill:hover,
.project:hover,
#experience ul:hover,
#certifications ul:hover,
#workshops ul:hover,
#strengths p:hover,
#publication .publication-card:hover,
#contact .contact-box:hover {
    border-left: 5px solid #2563eb !important;
}
/* ===== MATCH PUBLICATIONS AND CONTACT WITH ABOUT ME ===== */

/* Normal state: preserve the existing card design */
#publication .publication-card,
#contact .contact-box {
    border-left: 5px solid #2563eb !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;

    border-radius: 12px !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;

    transition: outline 0.3s ease,
                box-shadow 0.3s ease,
                transform 0.3s ease !important;
}

/* Remove the separate outer-border effect */
#publication .publication-card::before,
#contact .contact-box::before {
    content: none !important;
    display: none !important;
}

/* Same hover effect as About Me */
#publication .publication-card:hover,
#contact .contact-box:hover {
    border-left: 5px solid #2563eb !important;

    outline: 2px solid #60a5fa !important;
    outline-offset: 2px !important;

    box-shadow: 0 0 12px #60a5fa !important;
    transform: translateY(-6px) !important;
}
/* ===== MATCH ABOUT ME CARD STYLE ===== */

/* Publications card */
#publication .publication-card {
    position: relative !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-left: 5px solid #2563eb !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    transition: border-color 0.3s ease,
                box-shadow 0.3s ease !important;
}

/* Contact Me card */
#contact .contact-box {
    position: relative !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-left: 5px solid #2563eb !important;
    border-radius: 12px !important;
    padding: 25px 30px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    transition: border-color 0.3s ease,
                box-shadow 0.3s ease !important;
}

/* Normal state: no extra glow */
#publication .publication-card::before,
#contact .contact-box::before {
    content: none !important;
}

/* Hover: glow like About Me */
#publication .publication-card:hover,
#contact .contact-box:hover {
    border-color: #60a5fa !important;
    border-left-color: #2563eb !important;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.25) !important;
    transform: none !important;
}
/* ===== CONTACT DETAILS - REMOVE INDIVIDUAL HOVER BOXES ===== */

#contact p {
    background: transparent !important;
    border: none !important;
    border-left: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 12px 0 !important;
}

/* Prevent box/glow when mouse is over contact details */
#contact p:hover {
    background: transparent !important;
    border: none !important;
    border-left: none !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
}
/* ===== CONTACT TEXT - NO INDIVIDUAL RECTANGULAR BOXES ===== */

#contact p,
#contact p:hover,
#contact .contact-box p,
#contact .contact-box p:hover,
#contact .contact-box a,
#contact .contact-box a:hover {
    background: transparent !important;
    border: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: none !important;
}

/* Keep contact details as normal text */
#contact p {
    padding: 0 !important;
    margin: 12px 0 !important;
}

/* Links should remain normal clickable links */
#contact a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* ONLY the main Contact box can glow */
#contact .contact-box:hover {
    border-color: #60a5fa !important;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.35) !important;
}
/* Send an Email box */
#contact .contact-box .contact-btn {
    display: inline-block !important;
    padding: 10px 20px !important;
    margin-top: 20px !important;
    border: 1px solid rgba(96, 165, 250, 0.35) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #60a5fa !important;
    text-decoration: none !important;
    font-weight: bold !important;
    box-sizing: border-box !important;
}

#contact .contact-box .contact-btn:hover {
    transform: translateY(-4px) !important;
    border-color: #60a5fa !important;
}
