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

body {
    font-family: 'Inter', sans-serif;
    background: #F8FAFC;
    color: #334155;
}

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

.navbar-brand {
    color: #2563EB;
    font-size: 1.5rem;
}

html {
    scroll-behavior: smooth;
}


.profile-section {

    padding: 120px 0 80px;

    background: #fff;

}

.profile-image {

    width: 300px;

    height: 300px;

    object-fit: cover;

    border-radius: 50%;

    border: 8px solid #2563EB;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);

    transition: .4s;

}

.profile-image:hover {

    transform: scale(1.05);

}

.profile-section h1 {

    font-size: 3rem;

    font-weight: 700;

}

.profile-section h4 {

    font-weight: 600;

}

.social-links {

    display: flex;

    gap: 20px;

}

.social-links a {

    font-size: 1.7rem;

    color: #475569;

    transition: .3s;

}

.social-links a:hover {

    color: #2563EB;

    transform: translateY(-4px);

}

/* About KPI Cards */
.about-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.about-kpi {
    padding: 14px 10px;
    text-align: center;
    border-radius: 12px;
    border: 1px solid rgba(13, 110, 253, 0.15);
    background: rgba(13, 110, 253, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-kpi:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.about-kpi strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
}

.about-kpi span {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .about-kpis {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .about-kpis {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .about-kpi {
        padding: 12px 6px;
    }

    .about-kpi strong {
        font-size: 1.15rem;
    }

    .about-kpi span {
        font-size: 0.7rem;
    }
}

.skill-cloud {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}

.skill-cloud span {

    background: #EFF6FF;

    color: #2563EB;

    padding: 10px 18px;

    border-radius: 30px;

    font-weight: 600;

    transition: .3s;

}

.skill-cloud span:hover {

    background: #2563EB;

    color: white;

}

.stat-card {

    background: #f8fafc;

    padding: 30px 20px;

    border-radius: 18px;

    transition: .3s;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .06);

    height: 100%;

}

.stat-card:hover {

    transform: translateY(-8px);

}

.stat-card h2 {

    color: #2563EB;

    font-size: 2.4rem;

    font-weight: 700;

    margin-bottom: 10px;

}

.stat-card p {

    margin: 0;

    color: #555;

    font-weight: 600;

}


#skills {

    padding: 100px 0;
}

.skill-card {

    background: white;

    padding: 35px;

    border-radius: 20px;

    text-align: center;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

    transition: .35s;
}

.skill-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 20px 35px rgba(37, 99, 235, .15);
}

.skill-icon {

    font-size: 3rem;

    color: #2563EB;

    margin-bottom: 20px;
}

.tech-tags {

    margin-top: 20px;
}

.tech-tags span {

    display: inline-block;

    background: #EFF6FF;

    color: #2563EB;

    padding: 8px 14px;

    margin: 6px;

    border-radius: 50px;

    font-size: .9rem;

    font-weight: 600;
}

#projects {

    background: #fff;

    padding: 100px 0;
}

.project-card {

    background: white;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

    transition: .35s;
}

.project-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

.project-card img {

    height: 222px;

    width: 100%;

    object-fit: cover;
}

.experience-card {

    background: white;

    padding: 35px;

    border-radius: 18px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

    margin-bottom: 35px;

    transition: .3s;

}

.experience-card:hover {

    transform: translateY(-8px);

}

.experience-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 10px;

}

.tech-used {

    margin-top: 20px;

}

.tech-used span {

    display: inline-block;

    background: #EFF6FF;

    color: #2563EB;

    padding: 7px 15px;

    margin: 5px;

    border-radius: 30px;

    font-size: .85rem;

    font-weight: 600;

}

/* Experience KPI Tags */
.kpi-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 14px;
}

.kpi-tags span {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: rgba(13, 110, 253, 0.06);
}

.experience-achievements {
    margin-top: 15px;
}

.experience-achievements>strong {
    display: block;
    margin-bottom: 8px;
}

.experience-achievements ul {
    margin-bottom: 0;
}

.cert-card {

    background: white;

    padding: 35px;

    text-align: center;

    border-radius: 18px;

    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);

    transition: .3s;

}

.cert-card:hover {

    transform: translateY(-8px);

}

.cert-card i {

    font-size: 3rem;

    color: #2563EB;

    margin-bottom: 20px;

}

body.dark-mode {
    background: #0F172A;
    color: #E2E8F0;
}

body.dark-mode .navbar,
body.dark-mode .skill-card,
body.dark-mode .project-card,
body.dark-mode .timeline-content,
body.dark-mode .cert-card,
body.dark-mode .about-card {
    background: #1E293B !important;
    color: #E2E8F0;
}

body.dark-mode #about,
body.dark-mode #projects {
    background: #111827;
}

body.dark-mode .text-muted {
    color: #94A3B8 !important;
}

.stats-section {
    background: #fff;
}

.stat-card {
    padding: 30px 20px;
    border-radius: 16px;
    background: #F8FAFC;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
}

.stat-card h2 {
    color: #2563EB;
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-card p {
    margin: 0;
    font-weight: 600;
    color: #64748B;
}

body.dark-mode .stats-section {
    background: #111827;
}

body.dark-mode .stat-card {
    background: #1E293B;
}

.project-filters button {

    border: none;

    padding: 10px 22px;

    margin: 8px;

    border-radius: 40px;

    background: #e2e8f0;

    transition: .3s;

    font-weight: 600;
}

.project-filters button:hover {

    background: #2563EB;

    color: white;
}

.project-filters .active {

    background: #2563EB;

    color: white;
}

.project-item {

    transition: .4s;
}

/* ==============================
   Recruiter / Availability Section
================================= */

.availability {
    padding: 80px 0;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
}

.availability-box {

    max-width: 900px;
    margin: auto;

    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);

    padding: 50px;

    border-radius: 20px;

    text-align: center;

    border: 1px solid rgba(255, 255, 255, .15);

    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);

    transition: .35s ease;

}

.availability-box:hover {

    transform: translateY(-8px);

}

.availability-box h2 {

    font-size: 2rem;

    font-weight: 700;

    margin-bottom: 20px;

}

.availability-box p {

    font-size: 1.1rem;

    color: rgba(255, 255, 255, .9);

    margin-bottom: 35px;

}

.availability-box ul {

    list-style: none;

    padding: 0;

    margin: 0 0 40px;

}

.availability-box ul li {

    display: inline-block;

    margin: 8px;

    padding: 12px 22px;

    border-radius: 40px;

    background: rgba(255, 255, 255, .15);

    color: #fff;

    font-weight: 500;

    transition: .3s;

}

.availability-box ul li:hover {

    background: #fff;

    color: #2563eb;

    transform: translateY(-3px);

}

.availability-box .btn {

    padding: 14px 36px;

    border-radius: 50px;

    font-weight: 600;

    font-size: 1rem;

    transition: .3s;

}

.availability-box .btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 12px 25px rgba(0, 0, 0, .25);

}

#contact {

    background: #f8fafc;

}

.contact-info {

    background: white;

    padding: 35px;

    border-radius: 18px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

    height: 100%;


}

.contact-item {

    display: flex;

    align-items: flex-start;

    margin-bottom: 28px;

}

.contact-item i {

    font-size: 1.5rem;

    color: #2563EB;

    margin-right: 18px;

    min-width: 35px;

}

.contact-item h6 {

    margin-bottom: 4px;

    font-weight: 600;

}

.contact-item p {

    margin: 0;

}

.contact-item a {

    color: #475569;

    text-decoration: none;

}

.contact-item a:hover {

    color: #2563EB;

}

.contact-form {

    background: white;

    padding: 35px;

    border-radius: 18px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

}

.form-control {

    border-radius: 12px;

    padding: 12px;

}

.form-control:focus {

    box-shadow: none;

    border-color: #2563EB;

}

.contact-form button {

    border-radius: 12px;

    padding: 12px 28px;

    font-weight: 600;

}

.contact-info,
.contact-form {

    transition: .3s;

}

.contact-info:hover,
.contact-form:hover {

    transform: translateY(-8px);

}

#formStatus .alert {

    border-radius: 12px;

    border: none;

    margin-top: 20px;

    font-weight: 500;

}

#formStatus i {

    margin-right: 8px;

}

/* ==========================
   DARK MODE - NAVBAR
========================== */

body.dark-mode .navbar {

    background: #111827 !important;

}

body.dark-mode .navbar-brand {

    color: #ffffff !important;

}

body.dark-mode .nav-link {

    color: #e5e7eb !important;

}

body.dark-mode .nav-link:hover,

body.dark-mode .nav-link.active {

    color: #60a5fa !important;

}

/* ==========================
   DARK MODE - EXPERIENCE
========================== */

body.dark-mode .experience {

    background: #0f172a;

}

body.dark-mode .experience-card {

    background: #1e293b;

    color: #f8fafc;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .4);

}

body.dark-mode .experience-card h4,

body.dark-mode .experience-card h6 {

    color: #ffffff;

}

body.dark-mode .experience-card p,

body.dark-mode .experience-card li {

    color: #cbd5e1;

}

body.dark-mode .experience-card span {

    background: #2563eb;

    color: white;

}

/* ==========================
   DARK MODE - CONTACT
========================== */

body.dark-mode #contact {

    background: #0f172a;

}

body.dark-mode .contact-info,

body.dark-mode .contact-form {

    background: #1e293b;

    color: #f8fafc;

}

body.dark-mode .contact-info h4,

body.dark-mode .contact-info h6,

body.dark-mode .contact-form label {

    color: #ffffff;

}

body.dark-mode .contact-info p,

body.dark-mode .contact-info a {

    color: #cbd5e1;

}

body.dark-mode .contact-info a:hover {

    color: #60a5fa;

}

body.dark-mode .form-control {

    background: #334155;

    border: 1px solid #475569;

    color: #ffffff;

}

body.dark-mode .form-control::placeholder {

    color: #94a3b8;

}

body.dark-mode .form-control:focus {

    background: #334155;

    color: #ffffff;

    border-color: #60a5fa;

    box-shadow: none;

}

body.dark-mode .stat-card {

    background: #1e293b;

}

body.dark-mode .stat-card p {

    color: #cbd5e1;

}

body.dark-mode .stat-card h2 {

    color: #60a5fa;

}

body.dark-mode .btn-outline-primary {

    color: #60a5fa;

    border-color: #60a5fa;

}

body.dark-mode .btn-outline-primary:hover {

    background: #60a5fa;

    color: #0f172a;

}

body.dark-mode hr {

    border-color: #334155;

}

body.dark-mode footer {

    background: #020617;

    color: #cbd5e1;

}

body.dark-mode footer a {

    color: #94a3b8;

}

body.dark-mode footer a:hover {

    color: #60a5fa;

}

.project-card,
.experience-card,
.cert-card,
.stat-card,
.contact-info,
.contact-form {

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

    border: 1px solid transparent;

}

.project-card:hover,
.experience-card:hover,
.cert-card:hover,
.stat-card:hover,
.contact-info:hover,
.contact-form:hover {

    transform: translateY(-10px);

    box-shadow: 0 20px 40px rgba(37, 99, 235, .18);

    border-color: #2563eb22;

}

.section-title {

    display: inline-block;

    position: relative;

    font-weight: 700;

    margin-bottom: 50px;

}

.section-title::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: -12px;

    width: 0;

    height: 4px;

    border-radius: 10px;

    background: #2563EB;

    transform: translateX(-50%);

    transition: .5s;

}

section:hover .section-title::after {

    width: 100%;

}

.btn {

    position: relative;

    overflow: hidden;

}

.btn::before {

    content: "";

    position: absolute;

    top: 0;

    left: -120%;

    width: 60%;

    height: 100%;

    background: rgba(255, 255, 255, .35);

    transform: skewX(-30deg);

    transition: .6s;

}

.btn:hover::before {

    left: 140%;

}

.skill {

    transition: .3s;

}

.skill:hover {

    background: #2563EB;

    color: white;

    transform: scale(1.08);

}

.project-image {

    overflow: hidden;

}

.project-image img {

    transition: .5s;

}

.project-card:hover img {

    transform: scale(1.08);

}

.navbar {

    transition: .4s;

}

.navbar-scrolled {

    padding: 10px 0;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);

    backdrop-filter: blur(10px);

}

#backToTop {

    position: fixed;

    bottom: 30px;

    right: 30px;

    width: 50px;

    height: 50px;

    border: none;

    border-radius: 50%;

    background: #2563EB;

    color: white;

    display: none;

    cursor: pointer;

    box-shadow: 0 10px 20px rgba(0, 0, 0, .2);

    transition: .3s;

    z-index: 1000;

}

#backToTop:hover {

    transform: translateY(-5px);

}

footer {

    padding: 40px 0;

    background: #111827;

    color: #cbd5e1;

    text-align: center;

}

footer p {

    margin: 8px 0;

}

body.dark-mode .modal-content {

    background: #1e293b;

    color: #f8fafc;

}

body.dark-mode .modal-header {

    border-bottom: 1px solid #334155;

}

body.dark-mode .btn-close {

    filter: invert(1);

}

@media (max-width:768px) {

    #resumeModal iframe {

        height: 500px;

    }

}

body {

    animation: fadeIn .7s ease;

}

@keyframes fadeIn {

    from {

        opacity: 0;

    }

    to {

        opacity: 1;

    }

}