/* ============================================
   SUMIT ADEPA - PREMIUM PORTFOLIO SYSTEM
   Backend & DevOps focus
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --primary-dark: #3730a3;
    --secondary: #64748b;
    --accent: #10b981;
    --accent-light: #34d399;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;

    /* System Tokens */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --section-padding: 100px 0;
}

/* Base Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

section {
    padding: var(--section-padding);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    background: var(--primary);
    color: white;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.brand-dot {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.08), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.05), transparent 40%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.hero-main-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-feature-list {
    margin-bottom: 3rem;
}

.hero-feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.hero-feature-list i {
    color: var(--primary);
    width: 20px;
}

.hero-cta-group {
    display: flex;
    gap: 1.25rem;
}

.btn {
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-glass {
    background: rgba(79, 70, 229, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.2);
    color: var(--primary);
}

.btn-glass:hover {
    background: rgba(79, 70, 229, 0.1);
    transform: translateY(-3px);
}

/* Hero Visuals */
.hero-visual-container {
    position: relative;
    padding: 2rem;
}

.glass-terminal {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-header {
    background: #1e293b;
    padding: 0.8rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-dots {
    display: flex;
    gap: 8px;
}

.header-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.header-dots span:nth-child(1) {
    background: #ff5f56;
}

.header-dots span:nth-child(2) {
    background: #ffbd2e;
}

.header-dots span:nth-child(3) {
    background: #27c93f;
}

.header-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.terminal-body {
    padding: 1.8rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: #e2e8f0;
    line-height: 1.7;
}

.terminal-body .line {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.prompt {
    color: var(--primary-light);
    font-weight: 700;
}

.text-green {
    color: #10b981;
}

.text-blue {
    color: #3b82f6;
}

.text-yellow {
    color: #f59e0b;
}

/* Floating Tech Grids */
.floating-tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.tech-blob {
    position: absolute;
    width: 65px;
    height: 65px;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    animation: float 6s infinite ease-in-out;
}

.blob-1 {
    top: -10%;
    right: 10%;
}

.blob-2 {
    bottom: 15%;
    left: -5%;
    animation-delay: -2s;
}

.blob-3 {
    top: 40%;
    right: -10%;
    animation-delay: -4s;
}

.blob-4 {
    top: 15%;
    left: 10%;
    animation-delay: -1s;
}

.blob-5 {
    bottom: -5%;
    right: 20%;
    animation-delay: -3s;
}

.blob-6 {
    top: 60%;
    left: -15%;
    animation-delay: -5s;
}

/* About Section */
.section-header-centered {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title-large {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.section-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.about-grid-professional {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
}

.profile-card-v2 {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid var(--border);
}

.profile-visual {
    width: 140px;
    height: 140px;
    background: var(--bg-main);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--primary);
    margin: 0 auto 2rem;
    border: 3px solid var(--border);
    animation: morph 8s infinite ease-in-out;
}

@keyframes morph {

    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

.profile-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.profile-info .title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: block;
}

.meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 1rem;
}

.meta-tags span {
    background: var(--bg-main);
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.core-capabilities {
    margin-top: 2.5rem;
    text-align: left;
}

.capability-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.cap-icon {
    background: rgba(79, 70, 229, 0.08);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--primary);
    flex-shrink: 0;
}

.cap-text strong {
    display: block;
    font-size: 0.95rem;
}

.cap-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-main-narrative .drop-cap {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-main-narrative .drop-cap::first-letter {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    float: left;
    margin: 0.1em 0.2rem 0 0;
    line-height: 1;
}

.expertise-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.expertise-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.professional-metrics {
    display: flex;
    gap: 4rem;
}

.metric-card {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

.metric-label {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Skills Section */
.skills {
    background: white;
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .skill-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.skill-category {
    background: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 3rem;
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 240px;
    flex-shrink: 0;
}

.skill-icon-box {
    color: var(--primary);
    font-size: 1.25rem;
}

.skill-header h3 {
    font-size: 1.1rem;
    margin: 0;
}

.skill-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.skill-tags::-webkit-scrollbar {
    display: none;
}

.skill-tag {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.skill-tag i {
    color: var(--primary);
    font-size: 1rem;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-left: 65px;
    margin-bottom: 4rem;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 0;
    width: 22px;
    height: 22px;
    background: white;
    border: 5px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(79, 70, 229, 0.08);
}

.timeline-content {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(12px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.timeline-content .date {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--bg-main);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.achievements {
    margin-top: 1.5rem;
}

.achievements li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.achievements li::before {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.8rem;
}

/* Projects Section */
.projects {
    background: var(--bg-main);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.project-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

.project-visual-mockup {
    height: 220px;
    background: linear-gradient(135deg, var(--primary), #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
    position: relative;
}

.project-visual-mockup::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

.project-info-container {
    padding: 2.5rem;
    flex-grow: 1;
}

.project-subtitle {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

.project-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.project-tech span {
    background: var(--bg-main);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    border: 1px solid var(--border);
}

.project-links {
    padding: 1.8rem 2.5rem;
    display: flex;
    gap: 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-main);
}

.project-link {
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    text-decoration: none;
}

.project-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Education & Certs */
.education-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    display: flex;
    gap: 3rem;
    align-items: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.education-icon {
    font-size: 4rem;
    color: var(--primary);
    background: var(--bg-main);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    background: white;
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    border-top: 5px solid var(--primary);
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.cert-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.cert-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.social-links-minimal {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 5rem;
}

.social-links-minimal a {
    font-size: 2.5rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links-minimal a:hover {
    color: var(--primary);
    transform: scale(1.2) rotate(8deg);
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 6rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

.footer-socials {
    display: flex;
    gap: 1.25rem;
    margin-top: 2rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    font-size: 1.25rem;
}

.footer-socials a:hover {
    background: var(--primary);
}

.footer h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-note i {
    color: #f43f5e;
    margin: 0 0.2rem;
}

/* Utilities & Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Top */
.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 55px;
    height: 55px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    transform: translateY(20px);
    font-size: 1.25rem;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px) scale(1.1);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: white;
    padding: 3.5rem 3rem;
    border-radius: 32px;
    position: relative;
    max-width: 700px;
    width: 90%;
    z-index: 10;
    animation: modalIn 0.5s cubic-bezier(0.3, 1, 0.4, 1);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--text-muted);
    border: none;
    background: none;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-content {
        order: 2;
    }

    .hero-visual-container {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-cta-group,
    .hero-feature-list li,
    .breadcrumb-nav {
        justify-content: center;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .about-grid-professional {
        grid-template-columns: 1fr;
    }

    .about-profile-sidebar {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 6rem 3rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .about-profile-sidebar {
        grid-template-columns: 1fr;
    }

    .professional-metrics {
        gap: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .expertise-tabs {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-marker {
        left: 6px;
    }

    .timeline-item {
        padding-left: 45px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2.25rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .education-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .modal-content {
        padding: 2.5rem 1.5rem;
    }
}