* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    scroll-behavior: smooth;
    list-style: none;
}



/* HEADER */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fa;
    color: #fff;
    padding: 1.2rem 14%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-bottom-left-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
}

.logo {
    color: black;
    font-size: 1.2rem;
    font-weight: 600;
    text-wrap: nowrap;
    transition: 0.3s ease-in-out;
}

.nav-links {
    display: flex;
    gap: 3.5rem;
}

.nav-links li a {
    color: black;
    font-weight: 600;
    position: relative;
    transition: 0.2s ease-in-out;
    padding: 4px 0;
    display: inline-block;
}

.nav-links li a:hover,
.nav-links li a:focus {
    background: linear-gradient(to right, #1973D1, #135CC5, #0C3BAA, #061993, #010280); /*Multi-Tone Navy Blue*/
    background-clip: text;
    color: transparent;

}

section {
    min-height: 100vh;
    padding: 8rem 12%;
    width: 100%;
    position: relative;
}

.section-title {
    position: relative;
    display: inline-block;
    margin: 0 auto 2rem auto;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
}



/* FOOTER */
footer {
    width: 100%;
    background-color: #f8f9fa;
    padding: 2.5rem 10% 1.2rem 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links ul {
    display: flex;
    gap: 2.5rem;
    padding: 0;
    margin: 0;
}

.footer-links ul li a {
    color: #222;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
}

.footer-links ul li a:hover,
.footer-links ul li a:focus {
    background: linear-gradient(to right, #1973D1, #135CC5, #0C3BAA, #061993, #010280);
    background-clip: text;
    color: transparent;
}

.footer-social {
    display: flex;
    gap: 1.3rem;
}

.footer-social a {
    color: #222;
    font-size: 1.35rem;
    transition: color 0.18s, transform 0.18s;
}

.footer-social a:hover {
    transform: scale(1.1);
}

.copyright {
    font-size: 0.8rem;
    color: rgb(68, 68, 68);;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}



/* HOME */

.home {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home .home-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
}

.profile-picture-container {
    width: 30vw;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-picture-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info-box {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.info-box-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-box h3 {
    font-size: 1.3rem;
    font-weight: 500;
    opacity: 0.8;
}

.info-box h1 {
    font-size: 2.8rem;
    font-weight: 600;
}

.info-box span {
    background: linear-gradient(to right, #1973D1, #135CC5, #0C3BAA, #061993, #010280);
    background-clip: text;
    color: transparent;
    font-size: 1.5rem;
}

.button-group {
    display: flex;
    gap: 1rem;
}

.button-group .button {
    border: 2px solid black;
    border-radius: 3rem;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    text-wrap: nowrap;
    transition: 0.2s ease-in-out;
    color: black;
}

.button:hover {
    background-color: black;
    color: white;
}

.social-media {
    display: flex;
    gap: 2rem;
}

.social-media i {
    color: #222;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.social-media i:hover {
    transform: scale(1.1);
}



/* WHOAMI */

.about-me {
    background-color: #fbfcfd;
}

.about-me-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.about-me-cards {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.about-me-card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 6px 24px rgba(34, 35, 58, 0.12);
    padding: 2.5rem 2.5rem 2.5rem 2.7rem;
    min-width: 260px;
    max-width: 320px;
    flex: 1 1 260px;
    transition: box-shadow 0.18s, transform 0.18s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0.5rem 0;
}

.about-me-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(to right, #1973D1, #135CC5, #0C3BAA, #061993, #010280);
    background-clip: text;
    color: transparent;
    margin-bottom: 1.1rem;
}

.about-me-card:hover {
    box-shadow: 0 8px 32px rgba(12, 59, 170, 0.16);
    transform: translateY(-2px) scale(1.02);
}

.about-me-card p {
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}



/* CAREER */

.career-section {
    width: 100%;
    padding: 6rem 12% 4rem 12%;
    background: #f8f9fa;
}

.timeline {
    position: relative;
    margin: 0 auto;
    max-width: 850px;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #333, #222, #111, #000);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 4rem;
}

.timeline-marker {
    position: absolute;
    left: 9px;
    width: 20px;
    height: 20px;
    background: black;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(34,35,58,0.12);
    z-index: 2;
    top: 0.7rem;
}

.timeline-arrow {
    position: absolute;
    left: 27px;
    top: 1.2rem;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 14px solid #fff;
    filter: drop-shadow(0 2px 8px rgba(34,35,58,0.10));
}

.timeline-content {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 18px rgba(34, 35, 58, 0.10);
    padding: 2rem 2rem 2rem 2.2rem;
    margin-left: 70px;
    min-width: 0;
    flex: 1;
    transition: box-shadow 0.18s, transform 0.18s;
    position: relative;
}

.timeline-content:hover {
    box-shadow: 0 8px 32px rgba(12, 59, 170, 0.16);
    transform: translateY(-2px) scale(1.02);
}

.timeline-date {
    display: block;
    color: black;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.85rem;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: black;
    margin-bottom: 0.5rem;
}

.timeline-institute {
    font-size: 1rem;
    background: linear-gradient(to right, #1973D1, #135CC5, #0C3BAA, #061993, #010280);
    background-clip: text;
    color: transparent;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.timeline-location {
    font-size: 0.85rem;
    color: black;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 1rem;
    display: block;
}


.timeline-content p {
    color: #444;
    font-size: 0.95rem;
    margin-top: 0.1rem;
}



/* SKILLS */

.skills {
    background-color: #fbfcfd;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.skills-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.skill-grid-card {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 18px rgba(34, 35, 58, 0.10);
    padding: 2rem 2rem 2rem 2.2rem;
    margin: 0.5rem 0; /* Optional: vertical spacing between cards */
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    cursor: pointer;
    transition: box-shadow 0.18s, transform 0.18s;
    border: none;
}

.skill-grid-card:hover {
    box-shadow: 0 8px 32px rgba(12, 59, 170, 0.16);
    transform: translateY(-2px) scale(1.02);
}

.skill-grid-card i {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.skill-grid-card span {
    font-size: 1.5rem;
    font-weight: 500;
    background: linear-gradient(to right, #1973D1, #135CC5, #0C3BAA, #061993, #010280);
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.skill-grid-card p {
    font-size: 0.95rem;
    color: #444;
}



/* BLOGS */

.blog-intro-button {
    border: 2px solid black;
    border-radius: 3rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 500;
    text-wrap: nowrap;
    transition: 0.2s ease-in-out;
    color: black;
}


.blog-intro-button:hover, .blog-intro-button:focus {
    background: black;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 32px rgba(34, 35, 58, 0.16);
    color: #fff;
}

.blog-intro-button span {
    display: inline-block;
    transition: transform 0.3s;
}

.blog-intro-button:hover span,
.blog-intro-button:focus span {
    transform: translateX(5px);
}

.blog-section-intro {
    padding: 3.5rem 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(34, 35, 58, 0.08);
    transition: box-shadow 0.18s, transform 0.18s;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 900px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.blog-section-intro:hover {
    box-shadow: 0 8px 32px rgba(12, 59, 170, 0.16);
    transform: translateY(-2px) scale(1.02);
}

.blog-section-intro p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}



/* BLOGS - NEW PAGE */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem 1.5rem;
    margin: 0 auto;
    max-width: 1200px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 8px 32px rgba(34,35,58,0.12), 0 1.5px 8px rgba(34,35,58,0.08);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(.21,.6,.36,1), box-shadow 0.25s;
    position: relative;
    padding-bottom: 1.5rem;
}

.blog-card h3,
.blog-card .date,
.blog-card p, .blog-card a {
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 55%;
    background: #eee;
    overflow: hidden;
    border-radius: 1.25rem 1.25rem 0 0;
    display: flex;
    align-items: flex-end;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(.21,.6,.36,1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.07);
}

.blog-card-tag {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: linear-gradient(to right, #1973D1, #135CC5, #0C3BAA, #061993, #010280);
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.35rem 1.15rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.blog-card .date {
    font-size: 0.93rem;
    font-weight: 500;
    color: #b4b4b4;
    margin-bottom: 0.45rem;
    letter-spacing: 0.02em;
}

.blog-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: black;
    margin-bottom: 0.5rem;
    line-height: 1.25;
    text-align: left;
    transition: color 0.2s;
}

.blog-card:hover {
    box-shadow: 0 8px 32px rgba(12, 59, 170, 0.16);
    transform: translateY(-1.02rem);
}

.blog-card:hover h3 {
    background: linear-gradient(to right, #1973D1, #135CC5, #0C3BAA, #061993, #010280);
    background-clip: text;
    color: transparent;
}

.blog-card p {
    color: #565656;
    font-size: 0.96rem;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 0.3rem;
    padding-right: 0.5rem;
}

.blog-card a {
    text-decoration: none;
    background: linear-gradient(to right, #1973D1, #135CC5, #0C3BAA, #061993, #010280);
    background-clip: text;
    color: transparent;
    margin-top: 1.2rem;
}

.blog-card a span {
    display: inline-block;
    transition: transform 0.3s;
}

.blog-card a:hover span,
.blog-card a:focus span {
    transform: translateX(5px);
}



/* BLOG POSTS - NEW PAGES */
.blog-post-container {
    max-width: 1000px;
    margin: 0 auto 2rem auto;
    border-radius: 1.25rem;
    padding: 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #333, #222, #111, #000);
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.blog-post-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: #565656;
    margin-bottom: 1.5rem;
}

.blog-post-meta .meta-author,
.blog-post-meta .meta-date {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.blog-post-meta i {
    background: linear-gradient(to right, #1973D1, #135CC5, #0C3BAA, #061993, #010280);
    background-clip: text;
    color: transparent;
    font-size: 1.1em;
}

.blog-post-content p {
    color: #565656;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.blog-post-content img {
    display: block;
    max-width: 600px;
    margin: 2rem 0;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(34, 35, 58, 0.10);
}

.blog-post-back-button {
    border: 2px solid black;
    border-radius: 3rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 500;
    text-wrap: nowrap;
    transition: 0.2s ease-in-out;
    color: black;
    margin-left: 4.5rem;
}

.blog-post-back-button:hover, .blog-post-back-button:focus {
    background: black;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 32px rgba(34, 35, 58, 0.16);
    color: #fff;
}

.blog-post-back-button span {
    display: inline-block;
    transition: transform 0.3s;
}

.blog-post-back-button:hover span,
.blog-post-back-button:focus span {
    transform: translateX(-5px);
}