:root {
    
    --primary-color: #e0ff4f;       /* #e0ff4f, #0AD3FF */
    --background-color: #0f0f11;
    --text-color: white;
    --nav-hover-color: #e7fb8c;     /* #ECFF99, #61e2ff */
    --card-bg: rgb(41, 41, 41);
    --nav-text-color: #050505;
    --tag-bg-color: #00aaff;        /* #007bff */
    --tag-text-color: white;
}

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

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
}

.navbar {
    background: var(--primary-color);
    padding: 15px;
    display: flex;
    justify-content: center;
}

.navbar a {
    color: var(--nav-text-color);
    text-decoration: none;
    padding: 15px 30px;
    margin: 0 10px;
    font-weight: bold;
    font-size: 24px;
}

.navbar a:hover {
    background: var(--nav-hover-color);
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.content {
    text-align: center;
    margin-top: 50px;
    font-size: 24px;
    color: var(--text-color);
}

.content img {
    width: 30%;
    display: block;
    margin: 0 auto;
    float: right;
}

.text-content {
    font-size: 20px;
    color: var(--text-color);
    width: 50%;
    text-align: left;
    margin-left: 2vmax;
    margin-top: 5vmax;
}

.text-content span.hi {
    color: var(--text-color);
    font-weight: bold;
    font-size: 3vmax;
}

.text-content span.name {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 6.5vmax;
}

.text-content span.thrdLine {
    color: var(--text-color);
    font-weight: bold;
    font-size: 3vmax;
}

.text-content span.D {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 3vmax;
}

.image-link img {
    width: 4vmax;
    transition: transform 0.3s, opacity 0.3s;
    text-align: left;
    margin-left: 3.5vmax;
    margin-top: 2vmax;
}

.image-link:hover img {
    transform: scale(1.5); 
    opacity: 0.8;
}

.resume-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--card-bg);
    padding: 12px 20px;
    font-size: 1.8vmax;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    margin-left: 3.5vmax;
    margin-top: 2vmax;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease-in-out;
}

.resume-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    transform: skewX(-45deg);
    transition: left 0.7s ease-in-out;
}

.resume-button:hover {
    background-color: var(--primary-color);
    transform: scale(1.1); 
    opacity: 1;
}

.resume-button:hover::before {
    left: 100%;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
}

.marquee-container {
    display: flex;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: var(--background-color);
    padding: 10px 0;
    width: 100%;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee-scroll 10s linear infinite;
}

.marquee-content img {
    height: 80px;
    margin-right: 3%;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.about-me {
    text-align: center;
    margin-top: 5vmax;
}

.headingA {
    color: var(--text-color);
    font-weight: bold;
    font-size: 3.5vmax;
}

.headingA span.A {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 3.5vmax;
}

b {
    color: var(--primary-color)
}

.heading-data {
    text-align: justify;
    color: var(--text-color);
    margin-top: 2vmax;
    margin-left: 5.5vmax;
    margin-right: 5.5vmax;
    padding: 0 3vmax  ;
    font-size: 1.2vmax;
    line-height: 2vmax;
}

.experience {
    text-align: center;
    margin-top: 5vmax;
    margin-bottom: 3vmax;
}

.headingE {
    color: var(--text-color);
    font-weight: bold;
    font-size: 3.5vmax;
}

.headingE span.E {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 3.5vmax;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 5px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px;
    position: relative;
    width: 50%;
    background-color: var(--card-bg);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 25px;
    left: calc(100% + 5px);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -18px;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 0.5vmax;
}

h3 {
    color: var(--text-color);
    margin-bottom: 1.5vmax;
}

ul {
    color: var(--text-color);
    line-height: 1.2vmax;
}

.tech {
    text-align: center;
    margin-top: 5vmax;
    margin-bottom: 3vmax;
}

.headingT {
    color: var(--text-color);
    font-weight: bold;
    font-size: 3.5vmax;
}

.headingT span.T {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 3.5vmax;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 40px;
    width: 80%;
    max-width: 1000px;
    aspect-ratio: 1 / 1;
    background: var(--background-color);
    padding: 10px;
    margin: 0 auto;
}

.quadrant {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    border: 5px solid var(--primary-color);
    border-radius: 10px;
    background: var(--card-bg);
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.quadrant:hover {
    transform: scale(1.1); 
    opacity: 1;
}

.quadrant img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 2vmax;
    margin-right: 0.8vmax;
}

.box-heading {
    color: var(--primary-color);
    margin-bottom: 3vmax;
    text-align: center;
}

.footer {
    text-align: center;
    color: var(--text-color);
    font-weight: bold;
}

.footer span.footer-A {
    color: var(--primary-color);
}

/* -------------- */
/* Projects Page  */
/* -------------- */


.projects-heading {
    text-align: center;
    color: var(--text-color);
    font-size: 3.5vmax;
    font-weight: bold;
    margin-top: 3vmax;
    margin-bottom: 3vmax;
}

.projects-heading span.projects-P {
    color: var(--primary-color);
}

.project-card * {
    text-decoration: none;
}

.project-card {
    display: flex;
    max-width: 1000px; 
    width: 70%; 
    min-height: 250px; 
    background: var(--card-bg);
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    margin: 20px auto; 
    align-items: stretch; 
    justify-content: flex-start;
    text-decoration: none;
}

.project-card:hover {
    transform: scale(1.1);
}

.project-image {
    width: 30%;
    flex: 1; 
    display: flex; 
}

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

.project-info {
    margin-top: 1vmax;
    margin-bottom: 1vmax;
    margin-left: 1vmax;
    margin-right: 1vmax;
    width: 60%;
}

.project-title {
    color: var(--primary-color);
    font-size: 2vmax;
    font-weight: bold;
    margin-bottom: 0.5vmax;
}

.project-description {
    font-size: 0.9vmax;
    color: var(--text-color);
    margin-bottom: 0.5vmax;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8vmax;
}

.tag {
    background-color: var(--tag-bg-color);
    color: var(--tag-text-color);
    padding: 5px 10px;
    font-size: 0.78vmax;
    border-radius: 15px;
    font-weight: bold;
}

/* -------------- */
/* Blogs Page  */
/* -------------- */

.blogs-heading {
    text-align: center;
    color: var(--text-color);
    font-size: 3.5vmax;
    font-weight: bold;
    margin-top: 3vmax;
    margin-bottom: 3vmax;
}

.blogs-heading span.blogs-B {
    color: var(--primary-color);
}

.card-container {
    text-decoration: none;
}

.card {
    display: flex;
    max-width: 1000px; 
    width: 70%; 
    min-height: 250px; 
    background: var(--card-bg);
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    margin: 20px auto; 
    align-items: stretch; 
    justify-content: flex-start;
    text-decoration: none;
}

.card:hover {
    transform: scale(1.1);
}

.card-image {
    width: 30%;
    flex: 1; 
    display: flex; 
}

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

.card-info {
    margin-top: 1vmax;
    margin-bottom: 1vmax;
    margin-left: 1vmax;
    margin-right: 1vmax;
    width: 60%;
}

.card-title {
    color: var(--primary-color);
    font-size: 2vmax;
    font-weight: bold;
    margin-bottom: 0.5vmax;
}

.card-description {
    font-size: 0.9vmax;
    color: var(--text-color);
    margin-bottom: 0.5vmax;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8vmax;
}

.tag {
    background-color: var(--tag-bg-color);
    color: var(--tag-text-color);
    padding: 5px 10px;
    font-size: 0.78vmax;
    border-radius: 15px;
    font-weight: bold;
}

.blog-date {
    font-size: 0.9vmax;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5vmax;
}