/* =====================================================
   GOOGLE FONT
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =====================================================
   RESET
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #08111f;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button,
input,
textarea {
    font-family: inherit;
}

/* =====================================================
   VARIABLES
===================================================== */

:root {

    --primary: #3b82f6;
    --primary-light: #60a5fa;

    --secondary: #8b5cf6;

    --dark: #08111f;

    --card: #111b2e;

    --border: rgba(255, 255, 255, .08);

    --text: #d7dde8;

    --radius: 20px;

    --shadow: 0 15px 45px rgba(0, 0, 0, .25);

    --transition: .35s;

}

/* =====================================================
   CONTAINER
===================================================== */

.container {

    width: 90%;

    max-width: 1200px;

    margin: auto;

}

/* =====================================================
   BACKGROUND
===================================================== */

.bg-circle {

    position: fixed;

    border-radius: 50%;

    filter: blur(140px);

    opacity: .35;

    z-index: -10;

}

.one {

    width: 350px;

    height: 350px;

    background: #2563eb;

    top: -120px;

    left: -120px;

}

.two {

    width: 320px;

    height: 320px;

    background: #9333ea;

    top: 250px;

    right: -120px;

}

.three {

    width: 320px;

    height: 320px;

    background: #06b6d4;

    bottom: -120px;

    left: 40%;

}

/* =====================================================
   HEADER
===================================================== */

header {

    position: fixed;

    width: 100%;

    top: 0;

    left: 0;

    z-index: 1000;

    backdrop-filter: blur(18px);

    background: rgba(8, 17, 31, .70);

    border-bottom: 1px solid var(--border);

}

nav {

    display: flex;

    justify-content: space-between;

    align-items: center;

    height: 80px;

}

.logo {

    font-size: 30px;

    font-weight: 700;

}

.logo span {

    color: var(--primary);

}

.nav-links {

    display: flex;

    gap: 35px;

}

.nav-links a {

    color: #cbd5e1;

    transition: var(--transition);

    position: relative;

}

.nav-links a::after {

    content: "";

    position: absolute;

    width: 0;

    height: 2px;

    background: var(--primary);

    left: 0;

    bottom: -6px;

    transition: .3s;

}

.nav-links a:hover {

    color: white;

}

.nav-links a:hover::after {

    width: 100%;

}

.nav-links a.active {

    color: var(--primary);

}

.nav-links a.active::after {

    width: 100%;

}

.menu-btn {

    display: none;

    font-size: 28px;

    cursor: pointer;

}

/* =====================================================
   BUTTONS
===================================================== */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 15px 34px;

    border-radius: 50px;

    font-weight: 600;

    transition: var(--transition);

    cursor: pointer;

}

.primary {

    background: linear-gradient(135deg,
            var(--primary),
            var(--secondary));

    color: #fff;

}

.primary:hover {

    transform: translateY(-5px);

    box-shadow: 0 18px 35px rgba(59, 130, 246, .35);

}

.secondary {

    border: 2px solid var(--primary);

    color: #fff;

}

.secondary:hover {

    background: var(--primary);

}

/* =====================================================
   SECTION
===================================================== */

section {

    padding: 90px 0;

}

.section-header {

    text-align: center;

    margin-bottom: 70px;

}

.section-header span {

    display: inline-block;

    color: var(--primary-light);

    letter-spacing: 3px;

    font-size: 13px;

    margin-bottom: 10px;

    text-transform: uppercase;

}

.section-header h2 {

    font-size: 44px;

    margin-bottom: 15px;

}

.section-header p {

    max-width: 700px;

    margin: auto;

    color: var(--text);

}

/* =====================================================
   GLASS CARD
===================================================== */

.info-card,
.stat-card,
.project-card,
.service-card,
.skill-category,
.timeline-content,
.contact-wrapper {

    background: rgba(255, 255, 255, .04);

    border: 1px solid var(--border);

    backdrop-filter: blur(15px);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

}

/* =====================================================
   CARD HOVER
===================================================== */

.info-card,
.project-card,
.service-card,
.stat-card {

    transition: var(--transition);

}

.info-card:hover,
.project-card:hover,
.service-card:hover,
.stat-card:hover {

    transform: translateY(-10px);

}

/* =====================================================
   TEXT
===================================================== */

p {

    color: var(--text);

}

h1,
h2,
h3,
h4 {

    font-weight: 700;

    color: #fff;

}

strong {

    color: var(--primary-light);

}

/* =====================================================
   CUSTOM SCROLLBAR
===================================================== */

::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-track {

    background: #050b16;

}

::-webkit-scrollbar-thumb {

    background: var(--primary);

    border-radius: 20px;

}

::-webkit-scrollbar-thumb:hover {

    background: #60a5fa;

}

/* =====================================================
   TEXT SELECTION
===================================================== */

::selection {

    background: var(--primary);

    color: white;

}

/* =====================================================
   HERO SECTION
===================================================== */

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding-top: 120px;

    padding-bottom: 80px;

}

.hero-wrapper {

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    align-items: center;

    gap: 80px;

}

/* =====================================================
   HERO LEFT
===================================================== */

.hero-left {

    animation: fadeLeft .9s ease;

}

.badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 18px;

    border-radius: 50px;

    background: rgba(59, 130, 246, .12);

    color: #93c5fd;

    border: 1px solid rgba(59, 130, 246, .35);

    margin-bottom: 28px;

    font-size: 14px;

    font-weight: 500;

}

.hero h1 {

    font-size: 68px;

    line-height: 1.1;

    margin-bottom: 15px;

}

.hero h1 span {

    color: var(--primary);

}

.hero h2 {

    min-height: 50px;

    font-size: 32px;

    color: #60a5fa;

    margin-bottom: 28px;

    font-weight: 600;

}

.hero p {

    max-width: 650px;

    font-size: 18px;

    color: var(--text);

    margin-bottom: 40px;

}

/* =====================================================
   BUTTON GROUP
===================================================== */

.hero-buttons {

    display: flex;

    gap: 18px;

    flex-wrap: wrap;

    margin-bottom: 45px;

}

/* =====================================================
   SOCIAL ICONS
===================================================== */

.social-icons {

    display: flex;

    align-items: center;

    gap: 18px;

}

.social-icons a {

    width: 55px;

    height: 55px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255, 255, 255, .05);

    border: 1px solid var(--border);

    font-size: 22px;

    transition: var(--transition);

}

.social-icons a:hover {

    background: var(--primary);

    transform: translateY(-8px);

    color: #fff;

}

/* =====================================================
   HERO RIGHT
===================================================== */

.hero-right {

    display: flex;

    justify-content: center;

    align-items: center;

    animation: fadeRight .9s ease;

}

/* =====================================================
   ANIMATIONS
===================================================== */

@keyframes fadeLeft {

    from {

        opacity: 0;

        transform: translateX(-60px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}

@keyframes fadeRight {

    from {

        opacity: 0;

        transform: translateX(60px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}

/* =====================================================
   PROFILE CARD
===================================================== */

.profile-card {

    position: relative;

    width: 420px;

    height: 520px;

    border-radius: 35px;

    overflow: hidden;

    background: rgba(255, 255, 255, .05);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, .08);

    box-shadow: 0 25px 60px rgba(0, 0, 0, .35);

    display: flex;

    align-items: center;

    justify-content: center;

    transition: .4s ease;

}

.profile-card:hover {

    transform: translateY(-12px);

    box-shadow: 0 35px 70px rgba(37, 99, 235, .25);

}

/* =====================================================
   PROFILE IMAGE
===================================================== */

.profile-card img {

    width: 88%;

    height: 88%;

    object-fit: cover;

    border-radius: 28px;

    border: 4px solid rgba(255, 255, 255, .08);

    transition: .45s ease;

}

.profile-card:hover img {

    transform: scale(1.03);

}

/* =====================================================
   EXPERIENCE BADGE
===================================================== */

.experience-badge {

    position: absolute;

    bottom: 24px;

    right: 24px;

    width: 145px;

    height: 145px;

    border-radius: 50%;

    background: linear-gradient(135deg,
            var(--primary),
            var(--secondary));

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    color: #fff;

    text-align: center;

    box-shadow: 0 18px 45px rgba(37, 99, 235, .45);

    animation: floatBadge 4s ease-in-out infinite;

}

.experience-badge h3 {

    font-size: 40px;

    line-height: 1;

    margin-bottom: 8px;

}

.experience-badge p {

    color: #fff;

    font-size: 14px;

    line-height: 1.4;

    padding: 0 12px;

}

/* =====================================================
   DECORATIVE GLOW
===================================================== */

.profile-card::before {

    content: "";

    position: absolute;

    width: 260px;

    height: 260px;

    background: rgba(59, 130, 246, .18);

    border-radius: 50%;

    top: -110px;

    right: -90px;

    filter: blur(20px);

}

.profile-card::after {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    background: rgba(139, 92, 246, .15);

    border-radius: 50%;

    left: -70px;

    bottom: -70px;

    filter: blur(18px);

}

/* =====================================================
   FLOATING ANIMATION
===================================================== */

@keyframes floatBadge {

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-10px);

    }

    100% {

        transform: translateY(0);

    }

}

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

@media (max-width: 1100px) {

    .hero-wrapper {

        grid-template-columns: 1fr;

        gap: 60px;

        text-align: center;

    }

    .hero-left {

        order: 2;

    }

    .hero-right {

        order: 1;

    }

    .hero p {

        margin: 0 auto 40px;

    }

    .hero-buttons {

        justify-content: center;

    }

    .social-icons {

        justify-content: center;

    }

}

/* =====================================================
   TABLET
===================================================== */

@media (max-width:768px) {

    .hero {

        min-height: auto;

        padding-top: 130px;

        padding-bottom: 80px;

    }

    .hero h1 {

        font-size: 52px;

    }

    .hero h2 {

        font-size: 28px;

        min-height: 42px;

    }

    .hero p {

        font-size: 17px;

    }

    .profile-card {

        width: 340px;

        height: 430px;

    }

    .experience-badge {

        width: 120px;

        height: 120px;

        right: -10px;

        bottom: 25px;

    }

    .experience-badge h3 {

        font-size: 32px;

    }

    .hero-buttons {

        flex-direction: column;

        align-items: center;

    }

    .hero-buttons .btn {

        width: 240px;

    }

}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width:576px) {

    .hero {

        padding-top: 110px;

    }

    .hero h1 {

        font-size: 40px;

    }

    .hero h2 {

        font-size: 22px;

    }

    .hero p {

        font-size: 16px;

    }

    .badge {

        font-size: 13px;

        padding: 8px 16px;

    }

    .profile-card {

        width: 280px;

        height: 360px;

        border-radius: 25px;

    }

    .profile-card img {

        border-radius: 18px;

    }

    .experience-badge {

        width: 95px;

        height: 95px;

    }

    .experience-badge h3 {

        font-size: 24px;

    }

    .experience-badge p {

        font-size: 11px;

    }

    .social-icons {

        gap: 12px;

    }

    .social-icons a {

        width: 48px;

        height: 48px;

        font-size: 18px;

    }

}

/* =====================================================
   HERO HOVER EFFECTS
===================================================== */

.hero-left .btn {

    transition: all .35s ease;

}

.hero-left .btn:hover {

    transform: translateY(-5px);

}

.social-icons a {

    position: relative;

    overflow: hidden;

}

.social-icons a::before {

    content: "";

    position: absolute;

    width: 0;

    height: 100%;

    left: 0;

    top: 0;

    background: rgba(255, 255, 255, .15);

    transition: .35s;

}

.social-icons a:hover::before {

    width: 100%;

}

/* =====================================================
   TYPING CURSOR
===================================================== */

#typing::after {

    content: "|";

    margin-left: 4px;

    color: var(--primary);

    animation: blink .8s infinite;

}

@keyframes blink {

    0%,
    50% {

        opacity: 1;

    }

    51%,
    100% {

        opacity: 0;

    }

}

/* =====================================================
   ABOUT SECTION
===================================================== */

.about-grid {

    display: grid;

    grid-template-columns: 1.2fr .8fr;

    gap: 60px;

    align-items: center;

}

.about-content p {

    font-size: 17px;

    margin-bottom: 24px;

    color: var(--text);

}

.about-buttons {

    display: flex;

    gap: 20px;

    margin-top: 40px;

    flex-wrap: wrap;

}

/* =====================================================
   ABOUT INFO
===================================================== */

.about-info {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;

}

.info-card {

    padding: 35px 25px;

    text-align: center;

}

.info-card i {

    width: 70px;

    height: 70px;

    margin: auto;

    margin-bottom: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(59, 130, 246, .15);

    color: var(--primary);

    font-size: 28px;

}

.info-card h3 {

    margin-bottom: 10px;

    font-size: 20px;

}

.info-card p {

    color: var(--text);

    font-size: 15px;

}

/* =====================================================
   STATS
===================================================== */

.stats {

    padding-top: 20px;

    padding-bottom: 90px;

}

.stats-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

}

.stat-card {

    text-align: center;

    padding: 40px 20px;

}

.stat-card h2 {

    font-size: 48px;

    color: var(--primary);

    margin-bottom: 10px;

}

.stat-card p {

    color: var(--text);

    font-size: 16px;

}

/* =====================================================
   ABOUT ANIMATION
===================================================== */

.about-content {

    animation: fadeLeft .8s ease;

}

.about-info {

    animation: fadeRight .8s ease;

}

/* =====================================================
   CARD HOVER
===================================================== */

.info-card {

    transition: .35s ease;

}

.info-card:hover {

    transform: translateY(-10px);

    border-color: rgba(59, 130, 246, .35);

}

.info-card:hover i {

    background: var(--primary);

    color: #fff;

}

/* =====================================================
   STATS HOVER
===================================================== */

.stat-card {

    transition: .35s;

}

.stat-card:hover {

    transform: translateY(-8px);

}

.stat-card:hover h2 {

    color: #60a5fa;

}

/* =====================================================
   TABLET
===================================================== */

@media(max-width:992px) {

    .about-grid {

        grid-template-columns: 1fr;

        gap: 50px;

    }

    .about-content {

        text-align: center;

    }

    .about-buttons {

        justify-content: center;

    }

    .stats-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

/* =====================================================
   MOBILE
===================================================== */

@media(max-width:576px) {

    .about-info {

        grid-template-columns: 1fr;

    }

    .stats-grid {

        grid-template-columns: 1fr;

    }

    .info-card {

        padding: 28px;

    }

    .stat-card {

        padding: 30px 20px;

    }

    .stat-card h2 {

        font-size: 40px;

    }

    .about-buttons {

        flex-direction: column;

    }

    .about-buttons .btn {

        width: 100%;

    }

}

/* =====================================================
   EXPERIENCE
===================================================== */

#experience {

    position: relative;

}

.timeline {

    position: relative;

    max-width: 900px;

    margin: 0 auto;

    padding-left: 40px;

}

.timeline::before {

    content: "";

    position: absolute;

    left: 12px;

    top: 0;

    bottom: 0;

    width: 4px;

    background: linear-gradient(var(--primary),
            var(--secondary));

    border-radius: 50px;

}

.timeline-item {

    position: relative;

    margin-bottom: 60px;

}

.timeline-item:last-child {

    margin-bottom: 0;

}

.timeline-dot {

    position: absolute;

    left: -38px;

    top: 28px;

    width: 26px;

    height: 26px;

    border-radius: 50%;

    background: var(--primary);

    border: 5px solid var(--dark);

    box-shadow: 0 0 25px rgba(59, 130, 246, .5);

}

.timeline-content {

    padding: 35px;

    transition: .35s;

}

.timeline-content:hover {

    transform: translateY(-8px);

    border-color: rgba(59, 130, 246, .35);

}

.timeline-date {

    display: inline-block;

    padding: 8px 18px;

    border-radius: 40px;

    background: rgba(59, 130, 246, .12);

    color: #93c5fd;

    font-size: 14px;

    margin-bottom: 18px;

}

.timeline-content h3 {

    font-size: 28px;

    margin-bottom: 6px;

}

.timeline-content h4 {

    color: var(--primary-light);

    margin-bottom: 20px;

    font-weight: 500;

}

.timeline-content ul {

    padding-left: 20px;

}

.timeline-content li {

    color: var(--text);

    margin-bottom: 12px;

    list-style: disc;

}

.timeline-content li:last-child {

    margin-bottom: 0;

}

/* =====================================================
   TIMELINE HOVER
===================================================== */

.timeline-item:hover .timeline-dot {

    transform: scale(1.2);

    background: #60a5fa;

}

.timeline-dot {

    transition: .35s;

}

/* =====================================================
   MOBILE
===================================================== */

@media(max-width:768px) {

    .timeline {

        padding-left: 25px;

    }

    .timeline::before {

        left: 8px;

    }

    .timeline-dot {

        left: -28px;

        width: 20px;

        height: 20px;

    }

    .timeline-content {

        padding: 25px;

    }

    .timeline-content h3 {

        font-size: 22px;

    }

}

/* =====================================================
   PROJECTS
===================================================== */

.projects-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));

    gap: 35px;

}

.project-card {

    overflow: hidden;

    transition: .35s ease;

}

.project-card:hover {

    transform: translateY(-12px);

}

.project-image {

    height: 240px;

    overflow: hidden;

    position: relative;

}

.project-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .45s ease;

}

.project-card:hover img {

    transform: scale(1.08);

}

.project-content {

    padding: 30px;

}

.project-content h3 {

    font-size: 26px;

    margin-bottom: 15px;

}

.project-content p {

    color: var(--text);

    margin-bottom: 25px;

    min-height: 120px;

}

/* =====================================================
   TECH STACK
===================================================== */

.tech-stack {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

}

.tech-stack span {

    padding: 8px 15px;

    border-radius: 30px;

    background: rgba(59, 130, 246, .12);

    color: #93c5fd;

    font-size: 13px;

    border: 1px solid rgba(59, 130, 246, .25);

    transition: .3s;

}

.tech-stack span:hover {

    background: var(--primary);

    color: #fff;

}

/* =====================================================
   PROJECT IMAGE OVERLAY
===================================================== */

.project-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(transparent,

            rgba(8, 17, 31, .45));

}

/* =====================================================
   SERVICES
===================================================== */

.services-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;

}

.service-card {

    padding: 40px 30px;

    text-align: center;

    transition: .35s;

}

.service-card:hover {

    transform: translateY(-12px);

    border-color: rgba(59, 130, 246, .35);

}

.service-card i {

    width: 80px;

    height: 80px;

    margin: auto;

    margin-bottom: 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(59, 130, 246, .12);

    color: var(--primary);

    font-size: 34px;

    transition: .35s;

}

.service-card:hover i {

    background: var(--primary);

    color: #fff;

    transform: rotate(8deg);

}

.service-card h3 {

    margin-bottom: 18px;

    font-size: 24px;

}

.service-card p {

    color: var(--text);

}

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

@media(max-width:992px) {

    .projects-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .services-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media(max-width:768px) {

    .projects-grid,

    .services-grid {

        grid-template-columns: 1fr;

    }

    .project-image {

        height: 220px;

    }

    .project-content {

        padding: 25px;

    }

    .project-content h3 {

        font-size: 22px;

    }

    .project-content p {

        min-height: auto;

    }

    .service-card {

        padding: 35px 25px;

    }

}

/* =====================================================
   SKILLS
===================================================== */

.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.skill-category {
    padding: 30px;
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    color: #fff;
    font-size: 22px;
}

.skill-category h3 i {
    color: var(--primary);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-list span {
    padding: 10px 18px;
    border-radius: 30px;
    background: rgba(59, 130, 246, .12);
    border: 1px solid rgba(59, 130, 246, .25);
    color: #93c5fd;
    transition: .3s;
}

.skill-list span:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* =====================================================
   CONTACT
===================================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 50px;
}

.contact-left span {
    color: var(--primary-light);
    letter-spacing: 2px;
}

.contact-left h2 {
    margin: 15px 0 25px;
    font-size: 40px;
}

.contact-info {
    margin-top: 35px;
}

.contact-info>div {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.contact-info i {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(59, 130, 246, .12);
    color: var(--primary);
    font-size: 22px;
}

.contact-info h4 {
    margin-bottom: 5px;
}

.contact-right form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-right input,
.contact-right textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    resize: none;
    outline: none;
}

.contact-right input:focus,
.contact-right textarea:focus {
    border-color: var(--primary);
}

.contact-right button {
    border: none;
}

/* =====================================================
   FOOTER
===================================================== */

footer {
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-grid h3 {
    margin-bottom: 20px;
}

.footer-grid ul li {
    margin-bottom: 12px;
}

.footer-grid ul a {
    color: var(--text);
    transition: .3s;
}

.footer-grid ul a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .05);
    transition: .3s;
}

.footer-social a:hover {
    background: var(--primary);
}

.copyright {
    margin-top: 50px;
    padding-top: 25px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

/* =====================================================
   SCROLL TOP
===================================================== */

#scrollTop {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: .35s;
    z-index: 999;
}

#scrollTop.show {
    opacity: 1;
    visibility: visible;
}

#scrollTop:hover {
    transform: translateY(-5px);
}

/* =====================================================
   FADE ANIMATION
===================================================== */

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   MOBILE MENU
===================================================== */

@media(max-width:768px) {

    .menu-btn {
        display: block;
    }

    .nav-links {

        position: fixed;

        top: 80px;

        right: -100%;

        width: 260px;

        height: calc(100vh - 80px);

        background: #0d1627;

        flex-direction: column;

        justify-content: flex-start;

        align-items: center;

        padding-top: 50px;

        transition: .35s;

    }

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

}

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

@media(max-width:992px) {

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

}

@media(max-width:576px) {

    section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .contact-wrapper {
        padding: 30px;
    }

    .contact-left h2 {
        font-size: 30px;
    }

    .skill-category {
        padding: 25px;
    }

}

/* =====================================================
   PROJECT THUMBNAILS (designed covers, no screenshots needed)
===================================================== */

.project-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .18), transparent 55%),
        linear-gradient(135deg, var(--thumb-a), var(--thumb-b));
}

.project-thumb i {
    font-size: 64px;
    color: rgba(255, 255, 255, .92);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, .3));
    transition: .45s ease;
    position: relative;
    z-index: 1;
}

.project-card:hover .project-thumb i {
    transform: scale(1.12) rotate(-4deg);
}

.project-category {
    position: relative;
    z-index: 1;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
}

.t-blue   { --thumb-a: #1d4ed8; --thumb-b: #0ea5e9; }
.t-violet { --thumb-a: #6d28d9; --thumb-b: #c026d3; }
.t-teal   { --thumb-a: #0f766e; --thumb-b: #22c55e; }
.t-orange { --thumb-a: #c2410c; --thumb-b: #f59e0b; }
.t-pink   { --thumb-a: #be185d; --thumb-b: #f43f5e; }
.t-green  { --thumb-a: #15803d; --thumb-b: #84cc16; }
.t-indigo { --thumb-a: #4338ca; --thumb-b: #8b5cf6; }
.t-slate  { --thumb-a: #1e293b; --thumb-b: #3b82f6; }

/* =====================================================
   PROJECT LINKS
===================================================== */

.project-content p {
    min-height: 0;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: #93c5fd;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}

.project-link:hover {
    color: #fff;
    gap: 12px;
}

/* =====================================================
   CONTACT LINKS & FORM STATUS
===================================================== */

.contact-info a {
    color: inherit;
    transition: .3s;
}

.contact-info a:hover {
    color: #93c5fd;
}

.form-status {
    min-height: 22px;
    font-size: 14px;
    color: #93c5fd;
}

.form-status.error {
    color: #fca5a5;
}

/* =====================================================
   ACCESSIBILITY
===================================================== */

button.menu-btn {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@media(max-width:576px) {
    .experience-badge {
        width: 110px;
        height: 110px;
        right: 14px;
        bottom: 14px;
    }
    .experience-badge h3 {
        font-size: 30px;
    }
    .experience-badge p {
        font-size: 12px;
    }
    .project-thumb {
        height: 190px;
    }
}


/* =====================================================
   AI SECTION
===================================================== */

.hero-ai-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -10px 0 32px;
}

.hero-ai-tags span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    color: #c4b5fd;
    background: rgba(139, 92, 246, .12);
    border: 1px solid rgba(139, 92, 246, .3);
}

#ai {
    position: relative;
}

.ai-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, .22);
}

.ai-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    opacity: .85;
}

.ai-card i {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ai-workflow {
    margin-top: 60px;
    padding: 40px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
}

.ai-workflow h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 32px;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.workflow-step {
    position: relative;
    text-align: center;
    padding: 0 6px;
}

.workflow-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 10px 25px rgba(99, 102, 241, .35);
    margin-bottom: 14px;
}

.workflow-step h4 {
    font-size: 17px;
    margin-bottom: 6px;
}

.workflow-step p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text);
}

.workflow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 23px;
    left: calc(50% + 32px);
    width: calc(100% - 46px);
    height: 2px;
    background: linear-gradient(90deg, rgba(139, 92, 246, .6), rgba(59, 130, 246, .15));
}

@media (max-width: 992px) {
    .workflow-steps {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 32px;
    }
    .workflow-step:nth-child(3)::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .workflow-steps {
        grid-template-columns: 1fr 1fr;
    }
    .workflow-step::after {
        display: none;
    }
    .ai-workflow {
        padding: 28px 18px;
    }
    .hero-ai-tags {
        justify-content: center;
    }
}


/* =====================================================
   PROJECT SCREENSHOTS (shown when the image file exists)
===================================================== */

.project-thumb .project-shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 2;
    transition: transform .6s ease;
}

.project-card:hover .project-shot {
    transform: scale(1.05);
}

.project-image::after {
    z-index: 3;
    pointer-events: none;
}
