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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeIn {
    from { opacity: 0 }
    to { opacity: 1 }
}

@keyframes slideRight {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    0%, 100% { opacity: 1 }
    50% { opacity: 0 }
}


@keyframes pulse {
    0%, 100% { opacity: 1 }
    50% { opacity: 0.4 }
}

@keyframes barGrow {
    from { width: 0 }
    to { width: var(--w) }
}

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

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

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

body {
    background: #0F172A;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

img {
    max-width: 100%;
}
p{
    font-family: 'inter', sans-serif;
}

/* ==========================
   HERO
========================== */
.hero {
    background: #0F172A;
    border-radius: 16px;
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    padding: 0 20px;
}

.nav {
    position: fixed;
    top: 0;
    padding: 14px 20px;
    margin-top: 20px;
    margin-left: 0px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    z-index: 100;
    justify-content: space-between;
    width: 95%;
    backdrop-filter:blur(25px);
    -webkit-backdrop-filter:blur(15px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: background 0.3s, box-shadow 0.3s;
    animation: fadeIn 0.4s ease forwards;
} 

nav.scrolled {
    background: #1e293b25;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.nav-logo a {
    font-size: 20px;
    font-weight: 500;
    color: #F1F5F9;
    letter-spacing: -0.3px;
    cursor: pointer;
    padding-left: 40px;
    text-decoration: none;
}

.nav-logo span { color: #3B82F6 }

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    font-size: 18px;
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s
}

.nav-links a:hover { color: #F1F5F9 }
.nav-links a.active { color: #3B82F6 }

.nav-cta {
    font-size: 16px;
    padding: 7px 16px;
    border-radius: 8px;
    border: 0.5px solid #3B82F6;
    color: #3B82F6;
    margin-right: 40px;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s
} 

 .nav-cta:hover {
    background: #3B82F6;
    color: #fff
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: 0.5px solid #334155;
    border-radius: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #F1F5F9;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

.main {
    padding: 52px 28px 40px;
    display: grid;
    grid-template-columns: 1fr 280px;
    align-items: center;
    margin-left: 40px;
    margin-top: 100px;
    margin-right: 200px;
}

.left {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.greeting {
    padding-top: 20px;
    font-size: 13px;
    color: #64748B;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.35s forwards;
}

.name {
    font-size: 50px;
    font-weight: 500;
    color: #F1F5F9;
    line-height: 1.2;
    margin-bottom: 6px;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.5s forwards;
}


.name span { color: #3B82F6 }

.role-line {
    font-size: 17px;
    color: #94A3B8;
    font-weight: 400;
    margin-bottom: 18px;
    min-height: 26px;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.65s forwards;
}

.typed {
    color: #22D3EE;
    font-weight: 500;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 17px;
    background: #22D3EE;
    margin-left: 1px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

.desc {
    font-size: 20px;
    color: #64748B;
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.5s ease 1s forwards;
}

.desc strong {
    color: #94A3B8;
    font-weight: 500;
}

.btns {
    display: flex;
    gap: 10px;
    margin-bottom: 36px;
    animation: fadeUp 0.5s ease 1.15s forwards;
}

.btn-primary {
    font-size: 13px;
    padding: 10px 22px;
    border-radius: 8px;
    background: #3B82F6;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-primary:hover {
    background: #2563EB;
    transform: translateY(-1px);
}

.btn-ghost {
    font-size: 16px;
    padding: 10px 22px;
    border-radius: 8px;
    background: transparent;
    color: #94A3B8;
    border: 0.5px solid #334155;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
} 

.btn-ghost:hover {
    border-color: #94A3B8;
    color: #F1F5F9;
    transform: translateY(-1px);
}

.socials {
    display: flex;
    gap: 14px;
    animation: fadeUp 0.5s ease 1.3s forwards;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #1E293B;
    border: 0.5px solid #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-size: 16px;
}

.social-icon:hover {
    border-color: #3B82F6;
    color: #3B82F6;
    background: rgba(59, 130, 246, 0.08);
}

.social-icon a { color: #64748B }

.hero-image {
    height: 400px;
    width: 350px;
    border-radius: 50px;
    border: 0.5px solid #334155;
   
}
.hero-image:hover{
    border-color: #3B82F6;
    cursor: pointer;
     box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

/*  ABOUT*/
.about {
    background: #0F172A;
    padding: 100px 80px 120px;
    min-height: 100vh;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #22D3EE;
    background: rgba(34, 211, 238, 0.08);
    border: 0.5px solid rgba(34, 211, 238, 0.22);
    border-radius: 20px;
    margin-bottom: 16px;
    opacity: 0;
}

.section-tag.show {
    animation: fadeUp 0.5s ease forwards;
} 

 .section-title {
    font-size: 45px;
    font-weight: 500;
    color: #F1F5F9;
    line-height: 1.2;
    margin-bottom: 12px;
    opacity: 0;
}

.section-title span { color: #3B82F6 }
.section-title.show {
    animation: fadeUp 0.5s ease 0.1s forwards;
}

.section-sub {
    font-size: 18px;
    color: #64748B;
    margin-bottom: 56px;
    opacity: 0;
}

.section-sub.show {
    animation: fadeUp 0.5s ease 0.2s forwards;
}
  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    z-index: 0;
}

.left-col,
.right-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.bio-card {
    background: #1E293B;
    border: 0.5px solid #334155;
    border-radius: 16px;
    padding: 28px;
    opacity: 0;
}

.bio-card.show {
    animation: fadeLeft 0.6s ease 0.3s forwards;
}

.bio-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 500;
    color: #93C5FD;
    flex-shrink: 0;
}

.bio-name {
    font-size: 18px;
    font-weight: 500;
    color: #F1F5F9;
}

.bio-role {
    font-size: 13px;
    color: #3B82F6;
    margin-top: 3px;
}

.bio-text {
    font-size: 18px;
    color: #64748B;
    line-height: 1.85;
    margin-bottom: 14px;
}

.bio-text:last-of-type { margin-bottom: 20px; }

.bio-text strong { color: #94A3B8; font-weight: 500; }

.bio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    opacity: 0;
}

.info-grid.show {
    animation: fadeLeft 0.6s ease 0.45s forwards;
}

.info-item {
    background: #1E293B;
    border: 0.5px solid #334155;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color 0.2s;
    min-width: 0;
}

.info-item > div:last-child {
    min-width: 0;
}

.info-item:hover { border-color: #3B82F6 }

.info-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3B82F6;
    font-size: 15px;
    flex-shrink: 0;
}

.info-label {
    font-size: 12px;
    color: #64748B;
    margin-bottom: 2px;
}

.info-val {
    font-size: 14px;
    color: #F1F5F9;
    font-weight: 500;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

.info-val.available { color: #22D3EE }

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    opacity: 0;
}

.stats-row.show {
    animation: fadeLeft 0.6s ease 0.6s forwards;
}

.stat {
    background: #1E293B;
    border: 0.5px solid #334155;
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    transition: border-color 0.2s;
}

.stat:hover { border-color: #3B82F6 }

.stat-num {
    font-size: 26px;
    font-weight: 500;
    color: #F1F5F9;
    line-height: 1;
}

.stat-num span {
    font-size: 14px;
    color: #3B82F6;
}

.stat-label {
    font-size: 15px;
    color: #64748B;
    margin-top: 5px;
}

.skills-card {
    background: #1E293B;
    border: 0.5px solid #334155;
    border-radius: 16px;
    padding: 24px;
    opacity: 0;
}

.skills-card.show {
    animation: fadeRight 0.6s ease 0.35s forwards;
}

.card-title {
    font-size: 14px;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title-line {
    flex: 1;
    height: 0.5px;
    background: #334155;
}

.skill-row { margin-bottom: 16px; }
.skill-row:last-child { margin-bottom: 0; }

.skill-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.skill-name { font-size: 16px; color: #94A3B8 }
.skill-pct { font-size: 11px; color: #3B82F6; font-weight: 500 }

.skill-track {
    height: 4px;
    background: #0F172A;
    border-radius: 2px;
    overflow: hidden;
}

.skill-fill {
    height: 4px;
    border-radius: 2px;
    width: 0;
}

.skill-fill.blue { background: #3B82F6 }
.skill-fill.cyan { background: #22D3EE }

.tools-card {
    background: #1E293B;
    border: 0.5px solid #334155;
    border-radius: 16px;
    padding: 24px;
    opacity: 0;
}

.tools-card.show {
    animation: fadeRight 0.6s ease 0.5s forwards;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.tool {
    background: #0F172A;
    border: 0.5px solid #334155;
    border-radius: 10px;
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: border-color 0.2s, background 0.2s;
    cursor: default;
}

.tool:hover {
    border-color: #3B82F6;
    background: rgba(59, 130, 246, 0.05);
}

.tool-icon { font-size: 22px; color: #3B82F6 }
.tool-icon.cyan { color: #22D3EE }
.tool-name { font-size: 14px; color: #64748B; text-align: center }

.exp-card {
    background: #1E293B;
    border: 0.5px solid #334155;
    border-radius: 16px;
    padding: 24px;
    opacity: 0;
}

.exp-card.show {
    animation: fadeRight 0.6s ease 0.65s forwards;
}

.exp-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.exp-item:last-child { margin-bottom: 0 }

.exp-line {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.exp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3B82F6;
    flex-shrink: 0;
    margin-top: 4px;
}

.exp-connector {
    width: 1px;
    flex: 1;
    background: #334155;
    margin-top: 4px;
    min-height: 28px;
}

.exp-item:last-child .exp-connector { display: none }

.exp-year { font-size: 13px; color: #3B82F6; font-weight: 500; margin-bottom: 3px }
.exp-role { font-size: 16px; color: #F1F5F9; font-weight: 500 }
.exp-place { font-size: 13px; color: #64748B; margin-top: 2px }

/*   SERVICES*/
.services-section {
    position: relative;
    padding: 100px 8%;
    overflow: hidden;
    background: #0F172A;
}

.services-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #334155 50%, transparent 100%);
}

.service-header {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto 100px;
    text-align: center;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #22D3EE;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
    padding: 8px 20px;
    background: transparent;
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.service-tag::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22D3EE;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.line {
    display: none;
}

.service-title {
    position: relative;
    z-index: 1;
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    color: #F1F5F9;
}

.service-title br {
    display: block;
    content: "";
    margin-top: 0.15em;
}

.highlight {
    background: linear-gradient(135deg, #3B82F6 0%, #22D3EE 50%, #6366F1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.highlight::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6, #22D3EE);
    border-radius: 2px;
    opacity: 0.4;
}

.service-desc {
    position: relative;
    z-index: 1;
    color: #94A3B8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 17px;
    font-weight: 400;
}

.services-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat( 2,2fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.1), transparent 50%);
    pointer-events: none;
}

.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(34, 211, 238, 0.3);
    background: rgba(30, 41, 59, 0.6);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(34, 211, 238, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-card:hover::before { opacity: 1 }
.service-card:hover::after { opacity: 1 }

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}


.featured:hover .featured-visual img {
    transform: scale(1.08);
}

.featured .card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    position: relative;
}

.featured .card-icon::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    background: inherit;
    opacity: 0.3;
    filter: blur(12px);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.service-card:hover .card-icon::before {
    opacity: 0.5;
}

.card-number {
    display: none;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.service-card:hover .card-icon {
    transform: scale(1.08) rotate(-5deg);
}

.blue-icon {
    background: rgba(59, 130, 246, 0.12);
    color: #3B82F6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}

.cyan-icon {
    background: rgba(34, 211, 238, 0.12);
    color: #22D3EE;
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.15);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #F1F5F9;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.card-desc {
    color: #64748B;
    line-height: 1.75;
    margin-bottom: 24px;
    font-size: 15px;
    flex: 1;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.pill {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94A3B8;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    cursor: default;
    backdrop-filter: blur(4px);
}

.pill:hover {
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.4);
    color: #22D3EE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 211, 238, 0.15);
}

.bottom-note {
    position: relative;
    z-index: 1;
    margin-top: 50px;
    text-align: center;
    padding: 24px;
}

.bottom-note p {
    color: #64748B;
    font-size: 16px;
    line-height: 1.7;
}

.bottom-note a {
    color: #22D3EE;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 2px 0;
    transition: color 0.3s ease;
}

.bottom-note a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3B82F6, #22D3EE);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bottom-note a:hover {
    color: #22D3EE;
}

.bottom-note a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
 
[data-animate].show {
    opacity: 1;
    transform: translateY(0);
}


.projects-section {
  position: relative;
  padding: 100px 8%;
  overflow: hidden;
  background: #0F172A;
  scroll-margin-top: 68px;
}
 
.projects-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #334155 50%, transparent 100%);
}
 
/* Section header — reuses .service-title, .service-desc, .service-tag from your CSS */
 .project-header {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto 80px;
  text-align: center;
}
 
/* ── Subsection ── */
 .project-subsection {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto 80px;
}
.project-subsection:last-of-type {
  margin-bottom: 0;
}
 
.subsection-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}  
 .subsection-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.subsection-label {
  font-size: 25px;
  font-weight: 600;
  color: #F1F5F9;
  letter-spacing: -0.01em;
}
 
/* ── Cards grid ── */
 .projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
} 
 
/* ── Project card — matches your service-card style ── */
.project-card {
  position: relative;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.1), transparent 50%);
  pointer-events: none;
}
.project-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(30, 41, 59, 0.6);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(34, 211, 238, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.project-card:hover::before { opacity: 1; }
.project-card:hover::after  { opacity: 1; }  
 
/* ── Thumbnail ── */
 .project-thumb {
  height: 180px;
  background: #0A1020;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0; 
 }
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.project-card:hover .project-thumb img {
  transform: scale(1.05);
}
.thumb-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #334155;
}
.thumb-placeholder span {
  font-size: 11px;
  color: #334155;
}
 
/* ── Status badges ──  */
  .project-status {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
}
 .status-live {
  color: #22D3EE;
  background: rgba(34, 211, 238, 0.12);
  border: 0.5px solid rgba(34, 211, 238, 0.3);
}
.status-done {
  color: #3B82F6;
  background: rgba(59, 130, 246, 0.12);
  border: 0.5px solid rgba(59, 130, 246, 0.3);
}
.status-wip {
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
  border: 0.5px solid rgba(245, 158, 11, 0.3);
}
 
/* ── Card body ── */
 .project-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
} 
 .project-title {
  font-size: 18px;
  font-weight: 600;
  color: #F1F5F9;
  margin-bottom: 0px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.project-desc {
  font-size: 16px;
  color: #64748B;
  line-height: 1.8;
  margin-bottom: 16px;
  flex: 1;
}
 
/* ── Links ── */
.project-links {
  display: flex;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}
.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}
.project-btn:hover {
  border-color: rgba(34, 211, 238, 0.4);
  color: #22D3EE;
  background: rgba(34, 211, 238, 0.08);
}
.project-btn-primary {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #3B82F6;
}
.project-btn-primary:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: #3B82F6;
  color: #93C5FD;
}
 
/* ── View more button ── */
.more-row {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}    
 .more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #94A3B8;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 12px 28px;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}
.more-btn:hover {
  border-color: rgba(34, 211, 238, 0.4);
  color: #22D3EE;
  background: rgba(34, 211, 238, 0.06);
  transform: translateY(-2px);
}
.btns a{
    text-decoration:none;
}
.more-btn svg:first-child { color: #3B82F6; }
.more-btn svg:last-child  { color: #22D3EE; }


.contact-section{
    max-width:1400px;
    margin:auto;
    padding:100px 20px;
    display:grid;
    grid-template-columns:1fr 1.3fr;
    gap:80px;
}

.contact-left h2{
    font-size:3rem;
    color:#fff;
    margin-bottom:20px;
}

.contact-left p{
    color:#7c8aa5;
    font-size:1.2rem;
    line-height:1.8;
    margin-bottom:60px;
}

.contact-item{
    display:flex;
    align-items:center;
    gap:25px;
    margin-bottom:35px;
}

.contact-icon{
    width:85px;
    height:85px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#081325;
    border:1px solid rgba(255,255,255,.08);
    color:#3b82f6;
}

.contact-item span{
    color:#3b82f6;
    font-size:14px;
    font-weight:600;
}

.contact-item h4{
    color:white;
    font-size:1.6rem;
    margin-top:8px;
    overflow-wrap:anywhere;
    word-break:break-word;
}

.contact-item > div:last-child{
    min-width:0;
}

.whatsapp-btn{
    display:inline-flex;
    align-items:center;
    gap:15px;
    margin-top:30px;
    padding:18px 30px;
    border-radius:50px;
    text-decoration:none;
    color:#25D366;
    border:1px solid #25D366;
    background:rgba(37,211,102,.08);
    font-size:1.2rem;
    font-weight:600;
}

.contact-right{
    background:#061225;
    padding:50px;
    border-radius:30px;
    border:1px solid rgba(255,255,255,.05);
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
}

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group label{
    color:white;
    font-size:18px;
    padding-top:15px;
    margin-bottom:10px;
    font-weight:600;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    padding:18px;
    background:#0b1931;
    border:1px solid rgba(255,255,255,.05);
    border-radius:18px;
    color:white;
    font-size:16px;
    outline:none;
}

.form-group textarea{
    resize:none;
}  

.submit-btn{
    margin-top:25px;
    padding:18px 35px;
    border:none;
    border-radius:15px;
    background:#2563eb;
    color:white;
    font-size:17px;
    cursor:pointer;
}

.submit-btn:hover{
    transform:translateY(-2px);
}

.footer{
    background:#081325;
    border-top:1px solid rgba(255,255,255,.06);
    margin-top:100px;
}

.footer-container{
    max-width:1400px;
    margin:auto;
    padding:80px 20px;
    display:flex;
    justify-content:space-between;
    gap:60px;
    flex-wrap:wrap;
}

.footer-brand{
    flex:1;
    min-width:280px;
}

.footer-brand h2{
    color:#fff;
    font-size:2rem;
    margin-bottom:15px;
}

.footer-brand span{
    color:#3b82f6;
}

.footer-brand p{
    color:#94A3B8;
    line-height:1.8;
    max-width:450px;
}

.footer-links{
    flex:2;
    display:flex;
    justify-content:space-between;
    gap:40px;
    flex-wrap:wrap;
}

.footer-column{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.footer-column h3{
    color:white;
    margin-bottom:10px;
    font-size:1.1rem;
}

.footer-column a{
    color:#94A3B8;
    text-decoration:none;
    transition:.3s;
}

.footer-column a:hover{
    color:#3b82f6;
    transform:translateX(5px);
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.06);
    padding:25px 20px;
    max-width:1400px;
    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.footer-bottom p{
    color:#64748B;
}

.back-top{
    text-decoration:none;
    color:#3b82f6;
    font-weight:600;
}

.back-top:hover{
    color:#60A5FA;
}

@media(max-width:768px){

    .footer-container{
        flex-direction:column;
    }

    .footer-brand{
        min-width:0;
    }

    .footer-links{
        flex-direction:column;
        gap:30px;
    }

    .footer-bottom{
        flex-direction:column;
        text-align:center;
    }

}


@media(max-width:992px){

    .contact-section{
        grid-template-columns:1fr;
        gap:50px;
        padding:70px 20px;
    }

    .contact-right{
        padding:30px;
    }

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

    .contact-left h2{
        font-size:2.2rem;
    }

    .contact-left p{
        font-size:1.05rem;
        margin-bottom:40px;
    }

    .contact-item h4{
        font-size:1.2rem;
    }
}

@media(max-width:600px){

    .contact-section{
        padding:56px 16px;
        gap:40px;
    }

    .contact-item{
        gap:15px;
        margin-bottom:26px;
    }

    .contact-icon{
        width:56px;
        height:56px;
        flex-shrink:0;
    }

    .contact-icon svg{
        width:22px;
        height:22px;
    }

    .contact-left h2{
        font-size:1.7rem;
    }

    .contact-left p{
        font-size:1rem;
        line-height:1.7;
        margin-bottom:32px;
    }

    .contact-item span{
        font-size:12px;
    }

    .contact-item h4{
        font-size:1rem;
    }

    .whatsapp-btn{
        width:100%;
        justify-content:center;
        font-size:1rem;
        padding:16px 20px;
    }

    .contact-right{
        padding:24px 20px;
        border-radius:22px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea{
        padding:14px;
        font-size:15px;
        border-radius:14px;
    }

    .form-group label{
        font-size:16px;
    }
}

 
/* ══════════════════════════════════════
   RESPONSIVE — PROJECTS
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .projects-section { padding: 100px 6%; }
}
 
@media (max-width: 968px) {
  .projects-section { padding: 80px 5%; }
  .projects-grid    { grid-template-columns: 1fr 1fr; gap: 16px; }
  .project-header   { margin-bottom: 60px; }
}
 
@media (max-width: 768px) {
  .projects-section   { padding: 80px 20px; scroll-margin-top: 68px; }
  .project-header     { margin-bottom: 48px; }
  .projects-grid      { grid-template-columns: 1fr 1fr; gap: 14px; }
  .subsection-header  { flex-wrap: wrap; gap: 10px; }
  .subsection-divider { display: none; }
  .project-subsection { margin-bottom: 60px; }
}
 
@media (max-width: 576px) {
  .projects-section  { padding: 64px 16px; scroll-margin-top: 62px; }
  .projects-grid     { grid-template-columns: 1fr; gap: 14px; }
  .project-thumb     { height: 160px; }
  .project-body      { padding: 16px; }
  .project-title     { font-size: 14px; }
  .project-desc      { font-size: 12px; }
  .more-btn          { font-size: 12px; padding: 10px 20px; }
  .project-subsection{ margin-bottom: 48px; }
}
 
@media (max-width: 360px) {
  .projects-section { padding: 48px 12px; }
  .project-thumb    { height: 140px; }
  .subsection-label { font-size: 13px; }
}



/* ======================
====
   RESPONSIVE
========================== */

 @media (max-width: 1200px) {
    .services-section {
        padding: 120px 6%;
    }

    .services-grid {
        gap: 20px;
    }
}

@media (max-width: 968px) {
    .services-section {
        padding: 100px 5%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .featured {
        grid-column: 1;
    }

    .service-header {
        margin-bottom: 72px;
    }

    .service-title {
        font-size: clamp(2.4rem, 6vw, 3.5rem);
    }

    .featured .featured-visual {
        height: 180px;
    }
}

@media (max-width: 768px) {
    body{
        margin:0;
    }
    .nav {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 10px 12 px;
        margin-left: 16px;
        margin-right: 0px;
        width: calc(100% - 32px);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 18px;
        padding: 22px 20px;
        background: #1E293B;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 16px;
    }

    .nav-cta {
        margin-right: 0;
        align-self: flex-start;
    }

    .services-section {
        padding: 80px 20px;
    }

    .service-header {
        margin-bottom: 56px;
    }

    .service-title {
        font-size: 2.2rem;
    }

    .service-desc {
        font-size: 15px;
    }

    .featured .featured-visual {
        height: 160px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-desc {
        font-size: 14px;
    }

    .bottom-note {
        margin-top: 56px;
        padding: 20px 16px;
    }

    .bottom-note p {
        font-size: 14px;
    }
} 

@media (max-width: 480px) {
    .services-section {
        padding: 64px 16px;
    }

    .service-header {
        margin-bottom: 40px;
    }

    .service-title {
        font-size: 1.9rem;
    }

    .service-tag {
        font-size: 11px;
        padding: 6px 14px;
        gap: 8px;
    }

    .service-desc {
        font-size: 14px;
    }

    .service-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .featured .featured-visual {
        height: 140px;
        border-radius: 12px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-desc {
        font-size: 13px;
        line-height: 1.65;
    }

    .tech-pills {
        gap: 6px;
    }

    .pill {
        font-size: 11px;
        padding: 5px 10px;
    }

    .card-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 16px;
    }

    .featured .card-icon {
        width: 48px;
        height: 48px;
    }

    .bottom-note {
        margin-top: 48px;
        padding: 16px;
    }

    .bottom-note p {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .services-section {
        padding: 48px 12px;
    }

    .service-title {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 20px 16px;
    }

    .featured .featured-visual {
        height: 120px;
    }

    .tech-pills {
        gap: 4px;
    }

    .pill {
        font-size: 10px;
        padding: 4px 8px;
    }
}

/* ==========================
   RESPONSIVE — HERO & ABOUT
========================== */

@media (max-width: 1024px) {
    .main {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        margin-left: 30px;
        margin-right: 30px;
    }

    .name {
        font-size: 42px;
    }

    .desc {
        font-size: 18px;
        max-width: 100%;
    }

    .hero-image {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin-right: 0;
    }

    .nav-logo {
        padding-left: 0;
    }

    .nav-cta {
        margin-right: 0;
    }

    .about {
        padding: 80px 40px;
    }
}

@media (max-width: 768px) {
    .nav-links a {
        font-size: 14px;
    }

    .nav-logo a {
        padding-left: 0;
        font-size: 18px;
    }

    .nav-cta {
        margin-right: 0;
        font-size: 14px;
        padding: 6px 14px;
    }

    .main {
        grid-template-columns: 1fr;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
        padding: 48px 20px 32px;
    }

    .hero-image {
        order: -1;
        width: 240px;
        height: 240px;
        border-radius: 40px;
        margin: 0 auto 24px;
    }

    .name {
        font-size: 2.4rem;
    }

    .btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .socials {
        justify-content: center;
    }

    .left {
        align-items: center;
    }

    .role-line {
        justify-content: center;
    }

    .desc {
        max-width: 100%;
        font-size: 16px;
    }

    .about {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-sub {
        font-size: 15px;
        margin-bottom: 36px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .name {
        font-size: 32px;
    }

    .greeting {
        font-size: 12px;
    }

    .role-line {
        font-size: 15px;
    }

    .desc {
        font-size: 15px;
    }

    .btns {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .btn-primary,
    .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .btn-primary {
        font-size: 13px;
    }

    .btn-ghost {
        font-size: 14px;
    }

    .hero-image {
        width: 200px;
        height: 200px;
        border-radius: 32px;
    }

    .about {
        padding: 48px 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-sub {
        font-size: 13px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .tool {
        padding: 10px 4px;
    }

    .tool-icon {
        font-size: 18px;
    }

    .tool-name {
        font-size: 11px;
    }

    .stat-num {
        font-size: 20px;
    }

    .stat-label {
        font-size: 11px;
    }

    .bio-card,
    .skills-card,
    .tools-card,
    .exp-card {
        padding: 18px;
    }

    .bio-text {
        font-size: 15px;
    }

    .exp-year {
        font-size: 11px;
    }

    .exp-role {
        font-size: 14px;
    }

    .exp-place {
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    .name {
        font-size: 26px;
    }

    .hero-image {
        width: 160px;
        height: 160px;
        border-radius: 28px;
    }

    .section-title {
        font-size: 22px;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .stat-num {
        font-size: 18px;
    }

    .stat-label {
        font-size: 10px;
    }

    .info-val {
        font-size: 13px;
    }

    .info-label {
        font-size: 11px;
    }
}  
