/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;

}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e5e7eb;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

/* Remove click/keyboard focus border/outline on navbar links */
.navbar .nav-link {
    -webkit-tap-highlight-color: transparent;
}
.navbar .nav-link:focus,
.navbar .nav-link:active,
.navbar .nav-link:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
    outline-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Extra safety: remove default focus ring on anchors inside navbar across engines */
.navbar a:focus,
.navbar a:active,
.navbar a:focus-visible {
    outline: none !important;
    outline-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Firefox inner focus fix (mostly for buttons, harmless for anchors) */
.navbar .nav-link::-moz-focus-inner { border: 0; }

.nav-link:hover {
    color: #e5e7eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, #3b82f6, #9333ea);
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e5e7eb;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #60a5fa 0%, #7c3aed 100%);
    color: white;
    position: relative;
    overflow: hidden;
    will-change: transform; /* smoother parallax */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.profile-section {
    display: flex;
    justify-content: center;
}

.profile-photo-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 4px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.profile-photo:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
}

.profile-photo i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.profile-photo span {
    font-size: 1.1rem;
    font-weight: 500;
}

.upload-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2563eb;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.upload-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item i {
    width: 20px;
    margin-right: 1rem;
    opacity: 0.8;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.btn-primary:hover {
    background: transparent;
    color: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: white;
    padding: 40px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about .section-header {
    margin-bottom: 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #4b5563;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.25rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Skills Section */
.skills {
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 40px 0; /* compact to fit 3x2 grid */
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.skill-card {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

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

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

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.skill-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #60a5fa 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: white;
    font-size: 1.4rem;
}

.skill-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #1f2937;
}

.skill-card p {
    color: #6b7280;
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Compact the Skills header for better fit */
.skills .section-header {
    margin-bottom: 1.5rem;
}

/* Tablet: ensure 3x2 fits with reduced sizes */
@media (max-width: 1024px) {
    .skills {
        padding: 32px 0;
    }
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.875rem;
        max-width: 1000px;
    }
    .skill-card { padding: 1rem; }
    .skill-icon { width: 52px; height: 52px; font-size: 1.3rem; }
    .skill-card h3 { font-size: 1.05rem; }
    .skill-card p { font-size: 0.9rem; }
}

/* Large phones / small tablets: 2 columns x 3 rows within viewport */
@media (max-width: 820px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 720px;
    }
    .skills {
        padding: 28px 0;
    }
    .skill-card { padding: 0.9rem; border-radius: 10px; }
    .skill-icon { width: 48px; height: 48px; font-size: 1.2rem; margin-bottom: 0.6rem; }
    .skill-card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
    .skill-card p { font-size: 0.9rem; line-height: 1.35; }
}

/* Phones: keep 2 columns and shrink to keep all 6 in one screen */
@media (max-width: 640px) {
    .skills {
        padding: 24px 0;
        min-height: 100vh;
    }
    .skills .section-header h2 { font-size: 1.6rem; }
    .skills .section-header p { font-size: 0.95rem; }
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        max-width: 560px;
    }
    .skill-card { padding: 0.75rem; }
    .skill-icon { width: 44px; height: 44px; font-size: 1.1rem; }
    .skill-card h3 { font-size: 0.95rem; }
    .skill-card p { font-size: 0.85rem; }
}

/* Experience Section */
.experience {
    background: white;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
    transform: translateX(-50%);
    opacity: 0.8;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 0;
    text-align: right;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    text-align: left;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: #2563eb;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #e5e7eb;
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    width: 42%;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.4rem;
}

.timeline-date {
    color: #2563eb;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    display: block;
}

.timeline-content p {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Compact layout on mobile */
@media (max-width: 768px) {
    .experience { background: white; }
    .timeline { max-width: 640px; }
    .timeline-item { margin-bottom: 1.25rem; }
    .timeline-content { padding: 1rem; border-radius: 10px; }
    .timeline-content h3 { font-size: 1.05rem; }
    .timeline-content p { font-size: 0.9rem; line-height: 1.45; }
}

/* Projects */
.projects {
    background: #ffffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #2563eb;
}

.project-media {
    width: 100%;
    height: 135px; /* slightly larger */
    background: linear-gradient(135deg, #60a5fa 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-media i {
    font-size: 1.8rem;
}

.project-content {
    padding: 1.15rem; /* slightly larger */
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.project-meta {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.6rem;
}

.project-desc {
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 0.85rem;
    font-size: 1rem;
}

.project-actions {
    display: flex;
    gap: 0.5rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #2563eb;
    border-radius: 999px;
    color: #2563eb;
    transition: all 0.2s ease;
}

.project-link:hover {
    background: #2563eb;
    color: white;
}

.badge {
    display: inline-block;
    background: #eef2ff;
    color: #3730a3;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Achievements Section */
.achievements {
    background: #f8fafc;
}

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

.achievement-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

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

.achievement-card i {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.achievement-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.achievement-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1f2937;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-detail i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-detail h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.contact-detail p {
    color: #6b7280;
}

.contact-form {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

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

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 2rem 0;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

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

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

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 3rem;
        margin-right: 0;
        text-align: left;
        padding-left: 2rem;
        padding-right: 2rem;
        width: calc(100% - 3rem);
    }

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

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

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

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

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

    .btn {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .profile-photo-container {
        width: 250px;
        height: 250px;
    }

    .skill-card,
    .achievement-card {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================
   Professional Dark Theme Override (inspired)
   ========================== */
:root {
    --bg: #0b1220;
    --bg-soft: #0f172a;
    --surface: #111827;
    --surface-2: #0b1220;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --primary: #60a5fa;
    --primary-600: #3b82f6;
    --border: rgba(255,255,255,0.08);
}

body { background: var(--bg); color: var(--text); }
.navbar { background: rgba(17,24,39,0.6); border-bottom: 1px solid var(--border); }
.nav-logo span { color: var(--text); }
.nav-link { color: var(--muted); }
.nav-link:hover { color: var(--text); }
.nav-link::after { background: linear-gradient(135deg, #3b82f6, #9333ea); }

.hero { background: radial-gradient(1000px 500px at 20% 20%, rgba(96,165,250,0.16), transparent 60%), radial-gradient(900px 450px at 80% 30%, rgba(147,51,234,0.14), transparent 60%), linear-gradient(135deg, var(--bg-soft), var(--surface)); color: var(--text); }
.hero::before { opacity: 0.25; }

.profile-photo { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); }
.upload-btn { background: var(--primary-600); box-shadow: 0 4px 15px rgba(59,130,246,0.25); }

.btn-primary { background: var(--primary-600); border-color: var(--primary-600); }
.btn-primary:hover { color: var(--primary-600); border-color: var(--primary-600); box-shadow: 0 10px 25px rgba(59,130,246,0.35); }
.btn-secondary { border-color: #fff; color: #fff; }
.btn-secondary:hover { background: #fff; color: #111827; }

.about { background: var(--bg); }
.section-header h2 { color: #f3f4f6; }
.section-header p { color: var(--muted); }

.skills { background: var(--surface-2); }
.skill-card { background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text); border-radius: 16px; }
.skill-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.35); border-color: rgba(96,165,250,0.35); }
.skill-icon { background: linear-gradient(135deg, #3b82f6, #9333ea); }
.skill-card h3 { color: var(--text); }
.skill-card p { color: var(--muted); }

.experience { background: var(--bg); }
.timeline::before { background: rgba(255,255,255,0.08); }
.timeline-marker { box-shadow: 0 0 0 4px rgba(255,255,255,0.08); }
.timeline-content { background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text); border-radius: 16px; }
.timeline-content h3 { color: var(--text); }
.timeline-content p { color: var(--muted); }
.timeline-date { color: var(--primary); }

.achievements { background: var(--surface-2); }
.achievement-card { background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text); border-radius: 16px; }
.achievement-card h3 { color: var(--text); }
.achievement-card p { color: var(--muted); }

.projects { background: var(--bg); }
.project-card { background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text); border-radius: 16px; }
.project-media { background: linear-gradient(135deg, #1e293b, #334155); }
.project-title { color: var(--text); }
.project-meta { color: var(--muted); }
.project-desc { color: var(--muted); }

.contact { background: var(--bg); }
.contact-form { background: rgba(255,255,255,0.04); border: 1px solid var(--border); }
.form-group input, .form-group textarea { background: rgba(17,24,39,0.65); color: var(--text); border: 2px solid rgba(255,255,255,0.08); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #94a3b8; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary-600); }

/* Contact headings and labels visibility */
.contact-info-section h3 { color: var(--text); }
.contact-detail h4 { color: var(--text); }
.contact-detail p { color: var(--muted); }

/* Phone number styling in contact section */
.contact .phone-link a {
    color: white !important;
    text-decoration: none !important;
    transition: opacity 0.3s ease;
}

.contact .phone-link a:hover {
    opacity: 0.8;
}

/* Remove focus border from phone number */
.contact .phone-link a:focus,
.contact .phone-link a:active,
.contact .phone-link a:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Also suppress tap highlight for phone link */
.contact .phone-link a { -webkit-tap-highlight-color: transparent; }

/* Contact LinkedIn links: white, no underline, no border */
.contact .contact-item a,
.contact .contact-detail a {
    color: #fff !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
}
.contact .contact-item a:hover,
.contact .contact-detail a:hover { opacity: 0.85; }
.contact .contact-item a:focus,
.contact .contact-item a:active,
.contact .contact-item a:focus-visible,
.contact .contact-detail a:focus,
.contact .contact-detail a:active,
.contact .contact-detail a:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.footer { background: #0b1220; }
