/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0a1628;
    --navy-mid: #0f2040;
    --accent: #1a6fc4;
    --accent-2: #0ea5e9;
    --accent-light: #38bdf8;
    --accent-bg: #eff8ff;
    --accent-border: rgba(26, 111, 196, 0.18);
    --text-dark: #0d1b2a;
    --text-mid: #345270;
    --text-light: #6b8aa8;
    --bg: #f2f6fb;
    --bg-white: #ffffff;
    --border: #dce7f2;
    --shadow-sm: 0 2px 10px rgba(10, 22, 40, 0.07);
    --shadow-md: 0 8px 28px rgba(10, 22, 40, 0.11);
    --shadow-lg: 0 24px 56px rgba(10, 22, 40, 0.15);
    --radius: 18px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Instrument Sans', sans-serif;
}

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo-dot { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 0.15rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-mid);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    transition: all var(--transition);
    letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
    background: var(--accent-bg);
}

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

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-1 {
    top: -120px;
    right: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(26, 111, 196, 0.1) 0%, transparent 70%);
}

.hero-glow-2 {
    bottom: -100px;
    left: -60px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.07) 0%, transparent 70%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--accent-bg);
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 1rem 0.4rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--accent-border);
    letter-spacing: 0.02em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.75rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

.highlight {
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text h2 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-mid);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.hero-text p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2.25rem;
    line-height: 1.85;
}

.hero-buttons {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.65rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
    cursor: pointer;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(26, 111, 196, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 111, 196, 0.4);
}

.btn-outline {
    border: 1.5px solid var(--border);
    color: var(--text-mid);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-bg);
}

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

.social-links a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg);
    color: var(--text-mid);
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 111, 196, 0.3);
}

/* Hero Image */
.hero-image {
    flex: 0 0 auto;
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-frame {
    position: relative;
    width: 300px;
    height: 300px;
}

.image-frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--accent);
    border-style: solid;
    opacity: 0.5;
}

.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--accent);
    border-style: solid;
    opacity: 0.4;
}

.fc-tl { top: -8px; left: -8px; border-width: 2px 0 0 2px; }
.fc-tr { top: -8px; right: -8px; border-width: 2px 2px 0 0; }
.fc-bl { bottom: -8px; left: -8px; border-width: 0 0 2px 2px; }
.fc-br { bottom: -8px; right: -8px; border-width: 0 2px 2px 0; }

.image-ring {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #c7e8ff 100%);
    position: relative;
    z-index: 1;
}

.image-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    display: block;
    background: var(--bg);
}

.hero-tag {
    position: absolute;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.45rem 0.9rem;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-mid);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 2;
    letter-spacing: 0.01em;
}

.hero-tag i { color: var(--accent); font-size: 0.85rem; }
.tag-1 { top: 20px; right: -20px; animation: float 3s ease-in-out infinite; }
.tag-2 { bottom: 70px; right: -30px; animation: float 3s ease-in-out infinite 1s; }
.tag-3 { bottom: 10px; left: -10px; animation: float 3s ease-in-out infinite 0.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-light), transparent);
    animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -1px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 7rem 0;
    background: var(--bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.9;
}

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

.personal-info {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
}

.info-item:last-child { border-bottom: none; }

.info-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.info-body span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    font-weight: 600;
    display: block;
    margin-bottom: 1px;
}

.info-body p,
.info-body a {
    font-size: 0.9rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition);
    margin: 0;
    display: block;
    font-weight: 500;
}

.info-body a:hover { color: var(--accent); }

/* ============================================
   SKILLS
   ============================================ */
.skills {
    padding: 7rem 0;
    background: var(--bg-white);
}

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

.skill-card {
    background: var(--bg);
    padding: 1.85rem 1.65rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
    border-radius: 3px 3px 0 0;
}

.skill-card:hover::after { transform: scaleX(1); }

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-border);
    background: var(--bg-white);
}

.skill-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    border: 1px solid var(--accent-border);
}

.skill-icon i {
    font-size: 1.35rem;
    color: var(--accent);
}

.skill-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.4rem;
    letter-spacing: -0.3px;
}

.skill-card p {
    color: var(--text-light);
    font-size: 0.855rem;
    line-height: 1.7;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects {
    padding: 7rem 0;
    background: var(--bg);
}

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

.project-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project-img-wrap {
    position: relative;
    overflow: hidden;
    height: auto;
}

.project-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img-wrap img {
    transform: scale(1.06);
}

.project-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 800;
    color: white;
    background: rgba(10, 22, 40, 0.55);
    backdrop-filter: blur(8px);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    letter-spacing: 1px;
    z-index: 1;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.project-card:hover .project-overlay { opacity: 1; }

.overlay-link {
    background: white;
    color: var(--navy);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(12px);
    transition: transform var(--transition);
}

.project-card:hover .overlay-link { transform: translateY(0); }

.project-info {
    padding: 1.65rem;
}

.project-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.7rem;
    letter-spacing: -0.4px;
}

.project-info p {
    color: var(--text-mid);
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.4rem;
}

.tech-stack span {
    background: var(--accent-bg);
    color: var(--accent);
    padding: 0.18rem 0.65rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid var(--accent-border);
    letter-spacing: 0.01em;
}

.project-links .btn-small {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bg);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.83rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-mid);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.project-links .btn-small:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* ============================================
   EXPERIENCE
   ============================================ */
.experience {
    padding: 7rem 0;
    background: var(--bg-white);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 24px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), rgba(26, 111, 196, 0.08));
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.25rem;
    position: relative;
}

.timeline-marker {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.95rem;
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 3px rgba(26, 111, 196, 0.2);
}

.timeline-content {
    background: var(--bg);
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius);
    flex: 1;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-border);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.timeline-header h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.3px;
}

.timeline-date {
    font-family: var(--font-body);
    font-size: 0.77rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-bg);
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--accent-border);
}

.timeline-company {
    font-family: var(--font-body);
    font-size: 0.83rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.timeline-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.timeline-list li {
    font-size: 0.9rem;
    color: var(--text-mid);
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.7;
}

.timeline-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.7;
}

.timeline-list li strong { color: var(--navy); font-weight: 600; }

/* ============================================
   EDUCATION
   ============================================ */
.education {
    padding: 7rem 0;
    background: var(--bg);
}

.edu-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transition: box-shadow var(--transition);
}

.edu-card:hover { box-shadow: var(--shadow-md); }

.edu-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-bg), #daf0ff);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--accent);
}

.edu-body { flex: 1; }

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

.edu-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}

.university-name {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.edu-date {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-bg);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    white-space: nowrap;
    border: 1px solid var(--accent-border);
}

.edu-note {
    background: var(--bg);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-left: 3px solid var(--accent);
}

.edu-note i {
    color: var(--accent);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    opacity: 0.7;
}

.edu-note p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-mid);
    font-style: italic;
    margin: 0;
    line-height: 1.75;
}

/* ============================================
   CERTIFICATES
   ============================================ */
.certificates {
    padding: 7rem 0;
    background: var(--bg-white);
}

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

.cert-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 1.85rem;
    border: 1px solid var(--border);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: all var(--transition);
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-border);
    background: var(--bg-white);
}

.cert-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-bg);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
}

.cert-body { flex: 1; }

.cert-body h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
    letter-spacing: -0.2px;
}

.cert-body p {
    font-size: 0.83rem;
    color: var(--text-light);
    margin-bottom: 0.9rem;
    line-height: 1.6;
}

.cert-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: gap var(--transition);
}

.cert-link:hover { gap: 0.65rem; }

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 7rem 0;
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-block,
.follow-block {
    background: var(--bg-white);
    padding: 2.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.contact-info-block h3,
.follow-block h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.65rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.3px;
}

.contact-info-block h3 i,
.follow-block h3 i { color: var(--accent); }

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    transition: all var(--transition);
    color: inherit;
}

.contact-item:not(.no-link):hover {
    border-color: var(--accent-border);
    background: var(--accent-bg);
    transform: translateX(4px);
}

.contact-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent-bg);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.contact-item span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    font-weight: 600;
    display: block;
    margin-bottom: 1px;
}

.contact-item p {
    font-size: 0.88rem;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
}

.social-follow {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.follow-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.88rem;
    transition: all var(--transition);
    background: var(--bg);
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.follow-link > i:first-child {
    font-size: 1rem;
    width: 20px;
    color: var(--text-mid);
}

.follow-link div {
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.follow-link div strong { font-size: 0.88rem; font-weight: 600; }
.follow-link div span { font-size: 0.76rem; color: var(--text-light); }

.follow-arrow {
    font-size: 0.72rem;
    color: var(--text-light);
    transition: transform var(--transition), color var(--transition);
}

.follow-link:hover .follow-arrow {
    transform: translateX(4px);
    color: white;
}

.follow-link.github:hover { background: #1a1f27; color: white; border-color: #1a1f27; }
.follow-link.linkedin:hover { background: #0077b5; color: white; border-color: #0077b5; }
.follow-link.facebook:hover { background: #1877f2; color: white; border-color: #1877f2; }

.follow-link.github:hover > i:first-child,
.follow-link.linkedin:hover > i:first-child,
.follow-link.facebook:hover > i:first-child { color: white; }

.follow-link.github:hover div span,
.follow-link.linkedin:hover div span,
.follow-link.facebook:hover div span { color: rgba(255,255,255,0.65); }

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--navy);
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    text-decoration: none;
    color: white;
    letter-spacing: -1px;
}

.footer-logo span { color: var(--accent-light); }

footer p {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

.back-to-top {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 0.82rem;
    transition: all var(--transition);
}

.back-to-top:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.skills-grid .skill-card:nth-child(1) { transition-delay: 0.04s; }
.skills-grid .skill-card:nth-child(2) { transition-delay: 0.08s; }
.skills-grid .skill-card:nth-child(3) { transition-delay: 0.12s; }
.skills-grid .skill-card:nth-child(4) { transition-delay: 0.16s; }
.skills-grid .skill-card:nth-child(5) { transition-delay: 0.2s; }
.skills-grid .skill-card:nth-child(6) { transition-delay: 0.24s; }
.skills-grid .skill-card:nth-child(7) { transition-delay: 0.28s; }
.skills-grid .skill-card:nth-child(8) { transition-delay: 0.32s; }

.timeline-item:nth-child(1) { transition-delay: 0.05s; }
.timeline-item:nth-child(2) { transition-delay: 0.15s; }
.timeline-item:nth-child(3) { transition-delay: 0.25s; }

.cert-card:nth-child(1) { transition-delay: 0.05s; }
.cert-card:nth-child(2) { transition-delay: 0.12s; }
.cert-card:nth-child(3) { transition-delay: 0.2s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
    .about-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-grid { grid-template-columns: 1fr; }
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        gap: 0;
        padding: 0.75rem 0;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active { display: flex; }
    .nav-links li a { display: block; padding: 0.65rem 2rem; border-radius: 0; }

    .hero-content { flex-direction: column-reverse; text-align: center; gap: 3rem; }
    .hero-image { width: 260px; height: 260px; }
    .image-frame { width: 240px; height: 240px; }
    .image-ring { width: 240px; height: 240px; }

    .tag-1 { top: 10px; right: -10px; }
    .tag-2 { bottom: 30px; right: -15px; }
    .tag-3 { bottom: 0; left: 0; }

    .hero-buttons { justify-content: center; }
    .social-links { justify-content: center; }
    .hero-scroll-hint { display: none; }

    .edu-card { flex-direction: column; gap: 1.25rem; }
    .edu-header { flex-direction: column; }

    .footer-inner { flex-direction: column; text-align: center; gap: 0.75rem; }
    .back-to-top { margin: 0 auto; }
    .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 2.3rem; }
    .btn { padding: 0.7rem 1.3rem; font-size: 0.87rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-tag { display: none; }
}
