/* =========================================
   Variables & Reset
   ========================================= */
:root {
    --bg-color: #000000;
    /* Deep Black */
    --surface-color: rgba(20, 20, 20, 0.7);
    /* Dark Surface */
    --primary-color: #d4af37;
    /* Elegant Gold */
    --primary-glow: rgba(212, 175, 55, 0.4);
    --secondary-color: #dc2626;
    /* Vibrant Red */
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --glass-border: rgba(212, 175, 55, 0.15);
    /* Gold-tinted border */
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: transparent;
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    animation: float 10s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -50px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* Typography & Globals */
a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.section-title span {
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-glow);
}

/* Glassmorphism Card Style */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
}

.glass-card {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 25px;
    overflow: hidden;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

/* Primary Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
    /* Updated to Professional Blue */
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    transform: translateY(-3px) scale(1.05);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}



/* =========================================
   Navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--primary-color);
    padding: 1rem 5%;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-main);
    transition: var(--transition);
    border-radius: 3px;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.greeting {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.name {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(120deg, var(--text-main), var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.role {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.typing-text {
    color: var(--primary-color);
    border-right: 2px solid var(--primary-color);
    padding-right: 5px;
    animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--primary-color);
    }
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}

.action-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    opacity: 0.8;
}

.profile-img-container {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    border: 5px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5) inset;
    overflow: hidden;
    transition: var(--transition);
}

.profile-img-container:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 40px var(--primary-glow);
    transform: scale(1.02);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.4);
    transform-origin: center 20%;
    object-position: center 20%;
    transition: var(--transition);
}

.profile-img-container:hover .profile-img {
    transform: scale(1.5);
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-indicator:hover {
    opacity: 1;
    color: var(--primary-color);
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-main);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.scroll-indicator:hover .mouse {
    border-color: var(--primary-color);
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--text-main);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

.scroll-indicator:hover .wheel {
    background: var(--primary-color);
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* =========================================
   About Section
   ========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}


.about-subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-description strong {
    color: var(--text-main);
    font-weight: 600;
}

.about-focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.focus-card {
    padding: 1.5rem;
    text-align: left;
}

.focus-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.focus-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.focus-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-count {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}


@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* =========================================
   Skills Section
   ========================================= */
.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.skill-group-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--text-main);
}

.skill-group-title i {
    color: var(--primary-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    position: relative;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    text-align: center;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--skill-bg), transparent 60%);
    opacity: 0.5;
    z-index: -1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 20px var(--primary-glow);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
    z-index: 2;
}

.skill-info i {
    color: var(--skill-color, var(--primary-color));
    font-size: 2rem;
    background: var(--skill-bg, rgba(255, 255, 255, 0.05));
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 0 0 15px var(--skill-bg);
    border: 1px solid var(--skill-border);
    transition: all 0.3s ease;
}

.skill-card:hover .skill-info i {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px var(--skill-glow);
}


/* =========================================
   Coding Profiles Subsection
   ========================================= */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.profile-card {
    position: relative;
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    border-color: var(--profile-border, rgba(255, 255, 255, 0.05));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--profile-bg), transparent 65%);
    opacity: 0.3;
    z-index: -1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.profile-card:hover {
    transform: translateY(-8px);
    border-color: var(--profile-glow);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px var(--profile-glow);
}

.profile-card:hover::before {
    opacity: 0.8;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    z-index: 2;
}

.platform-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--profile-bg);
    color: var(--profile-color);
    border: 1px solid var(--profile-border);
    box-shadow: 0 0 15px var(--profile-bg);
    transition: all 0.3s ease;
}

.profile-card:hover .platform-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px var(--profile-glow);
}

.profile-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2px;
    color: var(--text-main);
}

.username {
    font-size: 0.95rem;
    color: var(--profile-color);
    font-weight: 600;
    opacity: 0.9;
}

.profile-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-muted);
    flex-grow: 1;
    z-index: 2;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 2;
}

.profile-tags span {
    font-size: 0.8rem;
    background: rgba(220, 38, 38, 0.05);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 30px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: var(--transition);
}

.profile-card:hover .profile-tags span {
    border-color: var(--secondary-color);
    background: rgba(220, 38, 38, 0.1);
    color: #ffffff;
}

.profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    background: transparent;
    border: 1px solid var(--glass-border);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.profile-btn:hover {
    background: var(--profile-glow);
    color: var(--bg-color);
    border-color: var(--profile-glow);
    transform: translateY(-3px);
}

/* =========================================
   Projects Section
   ========================================= */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.project-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-img {
    height: 200px;
    width: 100%;
    background: rgba(99, 102, 241, 0.1);
    /* Updated to Professional Blue */
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.project-card:hover .project-img {
    background: rgba(99, 102, 241, 0.2);
    /* Updated to Professional Blue */
}

.placeholder-img {
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.5;
    transition: var(--transition);
}

.project-card:hover .placeholder-img {
    transform: scale(1.1);
    opacity: 0.8;
}

.project-info {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-date {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.tech-stack span {
    font-size: 0.8rem;
    color: var(--secondary-color);
    background: rgba(139, 92, 246, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.project-link:hover {
    color: var(--primary-color);
}

/* =========================================
   Certifications Section
   ========================================= */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cert-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cert-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 2px solid var(--primary-color);
}

.cert-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.cert-action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
    padding-top: 1rem;
    transition: var(--transition);
}

.cert-action-link i {
    color: var(--primary-color);
}

.cert-action-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.cert-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cert-date {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.cert-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cert-issuer {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.cert-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   Journey / Certifications Section (Old)
   ========================================= */
.journey-container {
    max-width: 800px;
    margin: 0 auto;
}

/* =========================================
   Achievements Section
   ========================================= */
.achievements-container {
    max-width: 1000px;
    margin: 0 auto;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.column-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.column-title i {
    color: var(--primary-color);
}

/* Timeline */
.timeline {
    position: relative;
    border-left: 2px solid var(--glass-border);
    margin-left: 15px;
}

/* =========================================
   Education Section
   ========================================= */
.education-timeline {
    position: relative;
    max-width: 800px;
    margin: 2rem auto 0;
    padding-left: 30px;
    border-left: 2px solid var(--glass-border);
}

.edu-timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.edu-timeline-icon {
    position: absolute;
    left: -46px;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--bg-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    z-index: 2;
    box-shadow: 0 0 15px var(--primary-glow);
}

.edu-timeline-content {
    padding: 1.5rem 2rem;
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
}

.edu-header h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.edu-date-pill {
    background: rgba(255, 51, 51, 0.1);
    color: #ff3333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(255, 51, 51, 0.2);
}

.edu-institute {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.edu-score {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 2.5rem;
}

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

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--bg-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    left: -9px;
    top: 5px;
    box-shadow: 0 0 10px var(--primary-glow);
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

.timeline-date {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(99, 102, 241, 0.1);
    /* Updated to Professional Blue */
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.timeline-item:hover .timeline-date {
    transform: scale(1.05);
    /* Added interactivity */
    background: var(--primary-color);
    color: var(--bg-color);
}

.timeline-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.timeline-item h5 {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.timeline-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Achievements */
.achievements-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.achievement-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.icon-box {
    min-width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    /* Updated to Professional Blue */
    border: 1px solid rgba(99, 102, 241, 0.3);
    /* Updated to Professional Blue */
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.achievement-card:hover .icon-box {
    background: var(--primary-color);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

.achievement-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.achievement-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* =========================================
   Education Section Redesign
   ========================================= */
.section-heading-left {
    margin-bottom: 3rem;
    text-align: left;
}

.section-title-left {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* =========================================
   CV Section
   ========================================= */
.cv-container {
    max-width: 900px;
    margin: 0 auto;
}

.cv-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem;
    text-align: left;
}

.cv-icon {
    font-size: 5rem;
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.cv-text-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cv-text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.cv-action {
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .cv-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem 1.5rem;
    }
    
    .cv-icon {
        margin: 0 auto;
    }
}


/* =========================================
   Contact Section
   ========================================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    /* Updated to Professional Blue */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.info-item a,
.info-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

.info-item a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--text-main);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    /* Updated to Professional Blue */
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
    /* Updated to Professional Blue */
    transform: translateY(-2px);
    /* Added interactivity */
}

.contact-form button {
    align-self: flex-start;
}

/* =========================================
   Footer
   ========================================= */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--text-muted);
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
}

.footer-socials a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* =========================================
   Certificate Modal
   ========================================= */
.cert-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    /* Matches --bg-color but transparent */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cert-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 0 30px var(--primary-glow);
    border: 2px solid var(--primary-color);
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    object-fit: contain;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 40px;
    color: var(--text-muted);
    font-size: 40px;
    font-weight: bold;
    transition: var(--transition);
    cursor: pointer;
    z-index: 2001;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    transform: scale(1.1) rotate(90deg);
}

/* =========================================
   Animations & Reveals
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        gap: 3rem;
        padding-top: 100px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .blob-wrapper {
        width: 300px;
        height: 300px;
    }

    .profile-placeholder {
        width: 250px;
        height: 250px;
        font-size: 6rem;
    }

    .journey-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .name {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

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

    .timeline {
        margin-left: 5px;
    }

    .column-title {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        gap: 1.5rem;
    }

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

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .name {
        font-size: 2.5rem;
    }

    .role {
        font-size: 1.3rem;
    }

    .greeting {
        font-size: 1.2rem;
    }

    .description {
        font-size: 1rem;
    }

    .blob-wrapper {
        width: 250px;
        height: 250px;
    }

    .profile-placeholder {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}