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

body {
    font-family: 'Inter', sans-serif;
    background: #ededef;
    color: #303031;
    overflow-x: hidden;
    position: relative;
}

/* Graph-paper background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #ededef;
}

#bg-canvas {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, #000 42%, rgba(0, 0, 0, 0.55) 72%, transparent 100%);
    mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, #000 42%, rgba(0, 0, 0, 0.55) 72%, transparent 100%);
}

/* Floating Geometric Orbs */
.diamond {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(59, 130, 246, 0.1));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    animation: floatOrb 20s ease-in-out infinite;
    box-shadow: 
        0 0 40px rgba(0, 255, 255, 0.1),
        inset 0 0 40px rgba(0, 255, 255, 0.05);
}

.diamond:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.diamond:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 15%;
    animation-delay: -5s;
    animation-duration: 30s;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.1));
    border-color: rgba(139, 92, 246, 0.2);
}

.diamond:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 5%;
    animation-delay: -10s;
    animation-duration: 22s;
}

.diamond:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 20%;
    animation-delay: -15s;
    animation-duration: 28s;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(59, 130, 246, 0.1));
    border-color: rgba(16, 185, 129, 0.2);
}

.diamond:nth-child(5) {
    width: 140px;
    height: 140px;
    top: 40%;
    left: 50%;
    animation-delay: -8s;
    animation-duration: 35s;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(59, 130, 246, 0.1));
    border-color: rgba(236, 72, 153, 0.2);
}

.diamond:nth-child(6) {
    width: 70px;
    height: 70px;
    top: 80%;
    left: 30%;
    animation-delay: -12s;
    animation-duration: 26s;
}

.diamond:nth-child(7) {
    width: 90px;
    height: 90px;
    top: 30%;
    right: 40%;
    animation-delay: -3s;
    animation-duration: 32s;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(59, 130, 246, 0.1));
    border-color: rgba(245, 158, 11, 0.2);
}

.diamond:nth-child(8) {
    width: 110px;
    height: 110px;
    bottom: 10%;
    left: 70%;
    animation-delay: -18s;
    animation-duration: 24s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -40px) rotate(90deg) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, -80px) rotate(180deg) scale(0.9);
        opacity: 0.7;
    }
    75% {
        transform: translate(-40px, -20px) rotate(270deg) scale(1.05);
        opacity: 0.9;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    50% {
        background-position: 0% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Overlay effects disabled so the grid canvas stays visible */
.animated-bg::before,
.animated-bg::after {
    content: none;
}

@keyframes gradientShift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }
    33% {
        transform: scale(1.1) rotate(120deg);
        opacity: 0.9;
    }
    66% {
        transform: scale(0.9) rotate(240deg);
        opacity: 0.8;
    }
}

/* Geometric Pattern Overlay */
.animated-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(30deg, rgba(0, 255, 255, 0.02) 12%, transparent 12.5%, transparent 87%, rgba(0, 255, 255, 0.02) 87.5%, rgba(0, 255, 255, 0.02)),
        linear-gradient(150deg, rgba(0, 255, 255, 0.02) 12%, transparent 12.5%, transparent 87%, rgba(0, 255, 255, 0.02) 87.5%, rgba(0, 255, 255, 0.02)),
        linear-gradient(30deg, rgba(0, 255, 255, 0.02) 12%, transparent 12.5%, transparent 87%, rgba(0, 255, 255, 0.02) 87.5%, rgba(0, 255, 255, 0.02)),
        linear-gradient(150deg, rgba(0, 255, 255, 0.02) 12%, transparent 12.5%, transparent 87%, rgba(0, 255, 255, 0.02) 87.5%, rgba(0, 255, 255, 0.02));
    background-size: 80px 80px;
    animation: patternMove 25s linear infinite;
    opacity: 0.3;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(80px, 80px);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(1.1);
}

.nav-logo span {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, #00ffff 0%, #ffffff 25%, #00ffff 50%, #ffffff 75%, #00ffff 100%);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00ffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ffff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Sections */
.section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00ffff, #0066ff);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

.about-header {
    text-align: center;
    width: 100%;
}

.about-header h3 {
    font-size: 36px;
    margin-bottom: 0;
    color: #ffffff;
}

.about-main {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin-top: 20px;
}

.about-text {
    /* No additional styles needed - inherits from existing */
}

.about-text h3 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #ffffff;
}

.highlight {
    color: #00ffff;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #e2e8f0;
}

.about-text strong {
    color: #00ffff;
    font-weight: 600;
}

.about-socials {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 80px;
}

.social-icon i {
    font-size: 32px;
    color: #00ffff;
    transition: all 0.3s ease;
}

.social-icon span {
    font-size: 14px;
    font-weight: 500;
    color: #e2e8f0;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
}

.social-icon:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

.social-icon:hover span {
    color: #00ffff;
}

.about-image {
    display: flex;
    justify-content: flex-end;
}

/* Image Carousel */
.image-carousel {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
    border: 3px solid rgba(0, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.2);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 50%;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    transform: translateY(-50%);
    z-index: 2;
}

.carousel-btn {
    background: rgba(0, 255, 255, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.5);
    color: #00ffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: scale(0.8);
}

.image-carousel:hover .carousel-btn {
    opacity: 1;
    transform: scale(1);
}

.carousel-btn:hover {
    background: rgba(0, 255, 255, 0.4);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.carousel-dots {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.dot.active,
.dot:hover {
    background: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    transform: scale(1.2);
}

/* Auto-rotate animation */
.image-carousel {
    animation: carouselGlow 3s ease-in-out infinite alternate;
}

@keyframes carouselGlow {
    0% {
        box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
    }
    100% {
        box-shadow: 0 25px 50px rgba(0, 255, 255, 0.5);
    }
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #00ffff, #0066ff);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
    right: 55%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    left: 55%;
    right: 0;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #00ffff;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px #00ffff;
    z-index: 2;
}

.timeline-content {
    position: relative;
    background: rgba(30, 64, 175, 0.2);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.timeline-content h3 {
    font-size: 24px;
    color: #00ffff;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.timeline-date {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.timeline-content p {
    margin-top: 15px;
    line-height: 1.6;
    color: #e2e8f0;
}

/* Timeline bullet points */
.timeline-bullets {
    margin: 15px 0 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.timeline-bullets li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #e2e8f0;
    font-size: 15px;
    text-align: left;
}

.timeline-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #00ffff;
    font-weight: bold;
    font-size: 16px;
}

.timeline-bullets li:last-child {
    margin-bottom: 0;
}

/* Timeline Logo Styles */
.timeline-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.timeline-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(1.2);
}

/* Position logos on the right for even timeline items (right side) */
.timeline-item:nth-child(even) .timeline-logo {
    margin-left: auto;
    margin-right: 0;
}

/* Position logos on the left for odd timeline items (left side) */
.timeline-item:nth-child(odd) .timeline-logo {
    margin-left: 0;
    margin-right: auto;
}

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

.project-card {
    background: rgba(30, 64, 175, 0.2);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.project-image:hover img {
    transform: scale(1.05);
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(30, 64, 175, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.project-card:hover .project-image::after {
    opacity: 1;
}

.project-content {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffffff;
}

.project-content p {
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    min-height: 50px;
    align-items: flex-start;
}

.project-tech span {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.project-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-link {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-link:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Skills Section */
.skills-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.skills-category {
    text-align: center;
}

.skills-category h3 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 40px;
    font-weight: 600;
    position: relative;
}

.skills-category h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00ffff, #0066ff);
    border-radius: 2px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-card {
    background: rgba(30, 64, 175, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
}

.skill-card.flipped {
    /* Remove the rotation that causes mirror effect */
}

.skill-card .skill-content {
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.skill-card.flipped .skill-content {
    opacity: 0.1;
    transform: scale(0.9);
}

/* Star Rating Overlay */
.skill-rating-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 64, 175, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 15px;
    z-index: 10;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.skill-card.flipped .skill-rating-overlay {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.skill-rating-overlay h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 5px;
    text-align: center;
    font-weight: 600;
}

.skill-rating-overlay .experience-label {
    color: #00ffff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.star-rating {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.star {
    font-size: 24px;
    color: #64748b;
    transition: all 0.3s ease;
}

.star.filled {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.star.half {
    background: linear-gradient(90deg, #00ffff 50%, #64748b 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-card:hover .skill-rating-overlay {
    opacity: 1;
    visibility: visible;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 32px;
    color: #00ffff;
    margin-bottom: 20px;
}

.contact-info p {
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    width: 20px;
    color: #00ffff;
}

.contact-item span {
    color: #e2e8f0;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffff;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: rgba(30, 64, 175, 0.2);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
    font-size: 16px;
    opacity: 1;
}

/* Ensure consistent styling across browsers */
.form-group textarea {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    line-height: 1.5;
    min-height: 120px;
}

/* Firefox specific placeholder styling */
.form-group input::-moz-placeholder,
.form-group textarea::-moz-placeholder {
    color: #94a3b8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
    opacity: 1;
}

/* WebKit specific placeholder styling */
.form-group input::-webkit-input-placeholder,
.form-group textarea::-webkit-input-placeholder {
    color: #94a3b8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
}

/* Microsoft Edge specific placeholder styling */
.form-group input::-ms-input-placeholder,
.form-group textarea::-ms-input-placeholder {
    color: #94a3b8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.btn-primary {
    background: linear-gradient(45deg, #00ffff, #0066ff);
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 22, 40, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .section-title {
        font-size: 36px;
    }

    .about-content {
        gap: 30px;
    }

    .about-main {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-image {
        justify-content: center;
    }

    .about-socials {
        justify-content: center;
        flex-wrap: wrap;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        left: 50px;
        right: 0;
        text-align: left;
    }

    .timeline-dot {
        left: 20px;
        transform: translateX(-50%);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .skills-content {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
    }
    
    .skill-card {
        padding: 25px 15px;
        min-height: 120px;
    }
    
    .skill-icon {
        width: 50px;
        height: 50px;
    }
    
    .skill-icon i {
        font-size: 24px;
    }
    
    .skill-card span {
        font-size: 14px;
    }
    
    .skills-category h3 {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Involvement Section - Modern Card Layout */
.involvement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
    padding: 0 20px;
}

.involvement-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.05);
}

.involvement-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
    transform: scale(0);
    z-index: 1;
}

.involvement-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.involvement-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.involvement-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(0, 255, 255, 0.15), rgba(0, 255, 255, 0.05));
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 255, 0.3);
    transition: all 0.4s ease;
    box-shadow: 
        0 8px 25px rgba(0, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.involvement-icon img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    filter: brightness(1.3) saturate(1.1);
    transition: all 0.3s ease;
}

.involvement-card:hover .involvement-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 
        0 12px 35px rgba(0, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.involvement-card:hover .involvement-icon img {
    transform: scale(1.05);
    filter: brightness(1.5) saturate(1.3);
}

.timeline-content:hover .timeline-logo {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.involvement-card h3 {
    color: #00ffff;
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.involvement-card:hover h3 {
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 255, 255, 0.5);
}

.involvement-card h4 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.involvement-card:hover h4 {
    color: rgba(0, 255, 255, 0.9);
    opacity: 1;
}

.involvement-card p {
    color: #e2e8f0;
    line-height: 1.6;
    font-size: 14px;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    background: rgba(30, 64, 175, 0.95);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.4s ease-out;
    overflow: hidden;
}

.notification.success {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.1);
}

.notification.error {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.1);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #ffffff;
}

.notification-content i {
    font-size: 20px;
    flex-shrink: 0;
}

.notification.success .notification-content i {
    color: #10b981;
}

.notification.error .notification-content i {
    color: #ef4444;
}

.notification-content span {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile responsive notifications */
@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification-content {
        padding: 14px 16px;
    }
    
    .notification-content span {
        font-size: 13px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.9), rgba(0, 102, 255, 0.9));
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 1), rgba(0, 102, 255, 1));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.back-to-top i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Mobile responsive back to top button */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Scroll progress bar removed for better performance */

/* Progress bar styles removed for better performance */

/* Progress gradient animation removed for better performance */

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-card:hover::before {
    left: 100%;
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(0, 255, 255, 0.4);
    background: rgba(30, 64, 175, 0.25);
    box-shadow: 
        0 15px 35px rgba(0, 255, 255, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.skill-icon i {
    font-size: 28px;
    color: #00ffff;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
    background: rgba(0, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.skill-card:hover .skill-icon i {
    color: #ffffff;
    transform: scale(1.1);
}

.skill-card span {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    transition: all 0.3s ease;
}

.skill-card:hover span {
    color: #00ffff;
    transform: translateY(-2px);
}

/* Add floating diamonds around skill cards */
.skill-card::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: rgba(0, 255, 255, 0.3);
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.3s ease;
}

.skill-card:hover::after {
    opacity: 1;
    transform: rotate(45deg) scale(1.2);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Light professional palette — colors only, layout unchanged */
.animated-bg::before,
.animated-bg::after {
    content: none;
}

.navbar {
    background: rgba(237, 237, 239, 0.88);
    border-bottom-color: #dcdcdf;
}

.nav-logo span {
    background: none;
    background-clip: border-box;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: #19191a;
    color: #19191a;
    animation: none;
}

.nav-link,
.nav-link:hover,
.nav-link.active,
.section-title,
.about-header h3,
.about-text h3,
.project-content h3,
.skills-category h3,
.skill-card span,
.skill-card:hover span,
.involvement-card h3,
.involvement-card:hover h3 {
    color: #19191a;
    text-shadow: none;
}

.nav-link::after,
.nav-link:hover::after,
.nav-link.active::after,
.section-line,
.skills-category h3::after,
.timeline::before {
    background: #19191a;
}

.bar {
    background: #19191a;
}

.about-text p,
.timeline-content h4,
.timeline-date,
.timeline-content p,
.timeline-bullets li,
.project-content p,
.contact-info p,
.contact-item span,
.involvement-card h4,
.involvement-card:hover h4,
.involvement-card p {
    color: #626265;
    text-shadow: none;
}

.about-text strong,
.highlight,
.timeline-content h3,
.timeline-bullets li::before,
.contact-info h3,
.contact-item i {
    color: #19191a;
}

.social-icon,
.btn-link,
.social-link,
.carousel-btn,
.project-tech span,
.skill-card,
.timeline-content,
.project-card,
.involvement-card,
.contact-form,
.timeline-logo,
.skill-icon,
.involvement-icon {
    background: rgba(245, 245, 246, 0.68);
    border-color: #dcdcdf;
    color: #303031;
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.social-icon i,
.social-icon span,
.social-icon:hover,
.social-icon:hover i,
.social-icon:hover span,
.btn-link,
.btn-link:hover,
.social-link,
.social-link:hover,
.carousel-btn,
.project-tech span,
.skill-icon i,
.skill-card:hover .skill-icon i,
.skill-card:hover span {
    color: #303031;
}

.social-icon:hover,
.btn-link:hover,
.social-link:hover,
.carousel-btn:hover,
.project-card:hover,
.involvement-card:hover,
.skill-card:hover,
.timeline-content:hover .timeline-logo,
.involvement-card:hover .involvement-icon {
    background: rgba(245, 245, 246, 0.92);
    border-color: #acacb1;
    box-shadow: 0 8px 24px rgba(25, 25, 26, 0.08);
}

.image-carousel {
    border-color: #dcdcdf;
    box-shadow: 0 16px 40px rgba(25, 25, 26, 0.1);
    animation: none;
    background: #e4e4e7;
}

.dot {
    background: rgba(48, 48, 49, 0.25);
    border-color: #c6c6cb;
}

.dot.active,
.dot:hover {
    background: #19191a;
    box-shadow: none;
}

.timeline-dot {
    background: #19191a;
    box-shadow: none;
}

.project-image {
    background: #e4e4e7;
}

.involvement-icon img,
.involvement-card:hover .involvement-icon img,
.timeline-logo img {
    filter: none;
}

.skill-card::before,
.skill-card::after,
.project-card::before,
.involvement-card::before {
    display: none;
}

.skill-rating-overlay {
    background: rgba(245, 245, 246, 0.96);
    border-color: #dcdcdf;
    box-shadow: 0 12px 30px rgba(25, 25, 26, 0.12);
}

.skill-rating-overlay h4,
.skill-rating-overlay .experience-label,
.star.filled {
    color: #19191a;
    text-shadow: none;
}

.star.half {
    background: linear-gradient(90deg, #19191a 50%, #acacb1 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.72);
    border-color: #dcdcdf;
    color: #19191a;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group input::-moz-placeholder,
.form-group textarea::-moz-placeholder,
.form-group input::-webkit-input-placeholder,
.form-group textarea::-webkit-input-placeholder,
.form-group input::-ms-input-placeholder,
.form-group textarea::-ms-input-placeholder {
    color: #8a8a8e;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #19191a;
    box-shadow: none;
    outline: 1px solid #19191a;
}

.btn-primary {
    background: #19191a;
    color: #f5f5f6;
    box-shadow: none;
}

.btn-primary:hover {
    background: #303031;
    box-shadow: none;
}

.back-to-top {
    background: #19191a;
    border-color: #19191a;
    color: #f5f5f6;
    box-shadow: none;
}

.back-to-top:hover,
.back-to-top:active {
    background: #303031;
    box-shadow: none;
}

.notification {
    background: #f5f5f6;
    border-color: #dcdcdf;
    color: #19191a;
}

.notification.success {
    background: #f5f5f6;
    border-color: #c6c6cb;
}

.notification.error {
    background: #f5f5f6;
    border-color: #c6c6cb;
}

.notification-content,
.notification-content span {
    color: #19191a;
}

@media (max-width: 768px) {
    .nav-menu {
        background: rgba(237, 237, 239, 0.97);
    }
}

/* Involvement carousel */
.involvement-carousel {
    position: relative;
    margin: 40px auto 0;
    max-width: 920px;
    padding: 0 64px 48px;
    overflow: hidden;
}

.involvement-stage {
    position: relative;
    height: 320px;
    overflow: visible;
}

.involvement-carousel .involvement-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(380px, 72%);
    margin: 0;
    padding: 36px 28px 32px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) scale(0.84);
    transition: transform 0.45s ease, opacity 0.45s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    z-index: 0;
}

.involvement-carousel .involvement-card.is-prev,
.involvement-carousel .involvement-card.is-next {
    opacity: 0.38;
    pointer-events: auto;
    z-index: 1;
}

.involvement-carousel .involvement-card.is-prev {
    transform: translateX(calc(-50% - 250px)) scale(0.86);
}

.involvement-carousel .involvement-card.is-next {
    transform: translateX(calc(-50% + 250px)) scale(0.86);
}

.involvement-carousel .involvement-card.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
    transform: translateX(-50%) scale(1);
}

.involvement-carousel .involvement-card:hover,
.involvement-carousel .involvement-card.is-active:hover,
.involvement-carousel .involvement-card.is-prev:hover,
.involvement-carousel .involvement-card.is-next:hover {
    box-shadow: 0 8px 24px rgba(25, 25, 26, 0.08);
}

.involvement-carousel .involvement-card.is-active:hover {
    transform: translateX(-50%) scale(1);
}

.involvement-carousel .involvement-card.is-prev:hover {
    transform: translateX(calc(-50% - 250px)) scale(0.86);
}

.involvement-carousel .involvement-card.is-next:hover {
    transform: translateX(calc(-50% + 250px)) scale(0.86);
}

.involvement-carousel .involvement-card:hover .involvement-icon,
.involvement-carousel .involvement-card:hover .involvement-icon img {
    transform: none;
}

.involvement-carousel .involvement-icon {
    margin-bottom: 20px;
}

.involvement-carousel .involvement-card h3 {
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.involvement-carousel .involvement-card h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    opacity: 1;
}

.involvement-nav {
    position: absolute;
    top: 132px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #dcdcdf;
    background: rgba(245, 245, 246, 0.92);
    color: #19191a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.involvement-nav.prev {
    left: 8px;
}

.involvement-nav.next {
    right: 8px;
}

.involvement-nav:hover {
    background: #f5f5f6;
    border-color: #acacb1;
}

.involvement-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.involvement-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c6c6cb;
    cursor: pointer;
}

.involvement-dot.is-active {
    background: #19191a;
}

@media (max-width: 768px) {
    .involvement-carousel {
        padding: 0 48px 36px;
    }

    .involvement-stage {
        height: 300px;
    }

    .involvement-carousel .involvement-card.is-prev,
    .involvement-carousel .involvement-card.is-next {
        opacity: 0;
        pointer-events: none;
    }

    .involvement-nav {
        top: 120px;
    }
}

/* Compact experience timeline */
.timeline {
    max-width: 920px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 16px 1fr;
    column-gap: 22px;
    align-items: center;
    margin-bottom: 22px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    grid-column: 2;
    position: static;
    left: auto;
    top: auto;
    width: 11px;
    height: 11px;
    margin: 0 auto;
    transform: none;
}

.timeline-content {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    left: auto;
    right: auto;
}

.timeline-item:nth-child(odd) .timeline-content {
    flex-direction: row-reverse;
    text-align: right;
    left: auto;
    right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 3;
    left: auto;
    right: auto;
    text-align: left;
}

.timeline-logo {
    width: 58px;
    height: 58px;
    margin: 0;
    flex-shrink: 0;
    border-radius: 12px;
}

.timeline-item:nth-child(even) .timeline-logo,
.timeline-item:nth-child(odd) .timeline-logo {
    margin: 0;
}

.timeline-logo img {
    width: 38px;
    height: 38px;
    filter: none;
}

.timeline-logo.aws {
    font-size: 28px;
    color: #19191a;
}

.timeline-copy {
    min-width: 0;
}

.timeline-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 3px;
    line-height: 1.3;
}

.timeline-content h4 {
    font-size: 13.5px;
    font-weight: 500;
    margin: 0 0 4px;
    line-height: 1.35;
}

.timeline-date {
    display: block;
    font-size: 13px;
}

@media (max-width: 768px) {
    .timeline-item {
        grid-template-columns: 16px 1fr;
        column-gap: 14px;
        padding-left: 12px;
    }

    .timeline-dot {
        grid-column: 1;
        left: auto;
        transform: none;
        top: auto;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 2;
        flex-direction: row;
        text-align: left;
        left: auto;
        right: auto;
    }
}
 