:root {
    /* Color Palette - Premium Midnight with Vibrant Accents */
    --bg-dark: #0a0a0f;
    /* Deeper, richer midnight blue/black */
    --bg-card: rgba(20, 20, 30, 0.4);
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;

    /* Vibrant Neon Accents */
    --neon-cyan: #22d3ee;
    /* Brighter cyan */
    --neon-blue: #3b82f6;
    /* Rich blue */
    --neon-purple: #8b5cf6;
    /* Royal purple */
    --neon-pink: #ec4899;
    /* Vibrant pink */
    --neon-emerald: #10b981;
    /* Emerald */
    --neon-amber: #f59e0b;
    /* Warm amber */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    --gradient-secondary: linear-gradient(135deg, var(--neon-emerald), var(--neon-blue));
    --gradient-tertiary: linear-gradient(135deg, var(--neon-amber), var(--neon-pink));

    /* Tokens */
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* tsParticles Background */
#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    /* Keep it behind everything, even the glow orbs */
    pointer-events: none;
    /* Let clicks pass through to the particles */
}

/* Background Glowing Orbs */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.6;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--neon-purple);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--neon-emerald);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

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

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Typography Utility */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

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

.navbar.scrolled {
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -1px;
}

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

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: yellow;
    text-shadow: 0 0 8px rgba(255, 255, 0, 0.8);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
    background: yellow;
    box-shadow: 0 0 8px rgba(255, 255, 0, 0.8);
}

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

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
    /* Match --neon-cyan rgb */
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--neon-cyan);
}

.btn-outline:hover {
    background: rgba(34, 211, 238, 0.1);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.icon-btn {
    padding: 0.75rem;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--neon-cyan);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 6rem 5% 4rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--neon-cyan);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    bottom: -10px;
    left: 0;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Contact Section Updates */
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    padding: 3rem;
}

.contact-content {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1.2;
    width: 100%;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .field input,
.contact-form .message textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .message textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .field input:focus,
.contact-form .message textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form .button-area {
    margin-top: 2rem;
    text-align: right;
}

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

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    gap: 4rem;
    z-index: 10;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-img-wrap {
    position: relative;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: var(--gradient-primary);
    padding: 6px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 10s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
    /* Soft purple glow */
}

.profile-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    background-color: var(--bg-card);
}

@keyframes morphing {
    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%;
    }
}

.greeting {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.name {
    font-size: 5rem;
    letter-spacing: -2px;
    margin-bottom: 0.5rem;
}

.role {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    min-height: 48px;
}

#typewriter {
    color: var(--neon-cyan);
}

.bio {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--text-muted);
    transition: var(--transition);
}

.scroll-indicator a:hover {
    color: var(--neon-cyan);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
    align-items: center;
}

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

.code-window {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.window-header {
    background: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff4757;
}

/* Slightly more vibrant */
.dot.yellow {
    background: #ffa502;
}

.dot.green {
    background: #2ed573;
}

.code-window pre {
    padding: 20px;
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    overflow-x: auto;
}

.keyword {
    color: #c678dd;
}

.var {
    color: #e5c07b;
}

.key {
    color: #e06c75;
}

.string {
    color: #98c379;
}

.func {
    color: #61afef;
}

/* Skills Section */
.skills-section {
    padding-top: 4rem;
}

.skills-header {
    margin-bottom: 2rem;
}

.skills-header h2 {
    font-size: 2.5rem;
    color: #fff;
}

.skills-grid-container {
    background: rgba(13, 17, 23, 0.4);
    /* Dark semi-transparent background */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: none;
    position: relative;
    overflow: hidden;
}

/* Optional: Add a subtle glow behind the container */
.skills-grid-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(74, 0, 224, 0.15) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

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

.skill-card {
    background: #0d1117;
    /* Dark card background */
    border-radius: 12px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: var(--transition);
    cursor: default;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--neon-cyan);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 240, 255, 0.2);
    z-index: 1;
    /* Ensure it pops over other cards */
}

.skill-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: var(--transition);
}

.skill-card span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
}

.invert-dark {
    filter: invert(1) brightness(2);
    /* For icons like GitHub/Express that are black by default */
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.2);
    border-color: var(--neon-cyan);
    z-index: 1;
}

.project-img-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.project-img-placeholder.gradient-1 {
    background: var(--gradient-primary);
}

.project-img-placeholder.gradient-2 {
    background: var(--gradient-secondary);
}

.project-img-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.project-card:hover .project-img-placeholder::after {
    background: rgba(0, 0, 0, 0.1);
}

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

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

.project-tech span {
    font-size: 0.8rem;
    color: var(--neon-purple);
    font-family: monospace;
    background: rgba(192, 132, 252, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.project-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Contact Section */
.contact-content {
    text-align: center;
    padding: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Education Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
    transition: var(--transition);
}

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

.timeline-dot {
    position: absolute;
    top: 0;
    left: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    z-index: 10;
}

.timeline-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.timeline-date {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(34, 211, 238, 0.1);
    color: var(--neon-cyan);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--neon-purple);
    margin-bottom: 1rem;
    font-weight: 400;
}

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

/* Animations Reveal */
.reveal,
.reveal-left,
.reveal-right,
.reveal-bottom {
    opacity: 0;
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal,
.reveal-bottom {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-bottom.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered Element Reveals (Cascading) */
.active .about-text {
    transition-delay: 0.1s;
}

.active .about-visual {
    transition-delay: 0.3s;
}

.active .skill-card:nth-child(1) {
    transition-delay: 0.1s;
}

.active .skill-card:nth-child(2) {
    transition-delay: 0.15s;
}

.active .skill-card:nth-child(3) {
    transition-delay: 0.2s;
}

.active .skill-card:nth-child(4) {
    transition-delay: 0.25s;
}

.active .skill-card:nth-child(5) {
    transition-delay: 0.3s;
}

.active .timeline-item:nth-child(1) {
    transition-delay: 0.1s;
}

.active .timeline-item:nth-child(2) {
    transition-delay: 0.3s;
}

.active .project-card:nth-child(1) {
    transition-delay: 0.1s;
}

.active .project-card:nth-child(2) {
    transition-delay: 0.3s;
}

.active .project-card:nth-child(3) {
    transition-delay: 0.5s;
}

.active .project-card:nth-child(4) {
    transition-delay: 0.7s;
}

.active .contact-content {
    transition-delay: 0.2s;
}

/* Certifications & Achievements Section */
.cert-section {
    padding-top: 4rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.cert-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cert-col-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

/* Certification Cards */
.cert-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateX(8px);
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 10px rgba(34, 211, 238, 0.1);
}

.cert-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: -0.5px;
}

.cert-badge.aws {
    background: #fff;
    padding: 4px;
}

.cert-badge.google {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: #fff;
    font-size: 1.2rem;
}

.cert-badge.meta {
    background: linear-gradient(135deg, #0866ff, #0082fb);
    color: #fff;
    font-size: 1.2rem;
}

.cert-badge.docker {
    background: linear-gradient(135deg, #2496ed, #1d77c5);
    color: #fff;
    font-size: 1.2rem;
}

.cert-badge.oracle {
    background: rgba(255, 255, 255, 0.08);
    padding: 4px;
}

.cert-badge.rhel {
    background: rgba(255, 255, 255, 0.08);
    padding: 4px;
}

.cert-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cert-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.cert-issuer {
    font-size: 0.85rem;
    color: var(--neon-cyan);
}

.cert-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Achievements List */
.achievements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    transition: var(--transition);
}

.achievement-item:hover {
    transform: translateX(8px);
    border-color: rgba(192, 132, 252, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 10px rgba(192, 132, 252, 0.1);
}

.achievement-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.achievement-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 0.3rem 0;
}

.achievement-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Media Queries */
@media screen and (max-width: 768px) {

    .name {
        font-size: 3.5rem;
    }

    .role {
        font-size: 1.8rem;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%;
        background: rgba(3, 7, 18, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
    }

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

    .hamburger {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .about-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        padding-left: 0;
        padding-top: 40px;
        text-align: center;
    }

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

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

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        margin-top: 6rem;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .cta-group {
        justify-content: center;
    }

    .profile-img-wrap {
        width: 280px;
        height: 280px;
    }

    .contact-content {
        padding: 2rem;
    }

    .contact-container {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
    }

    .contact-form .button-area {
        text-align: center;
    }

    .skills-grid-container {
        padding: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}