* {
    position: relative;
    border: none;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: "Sour Gummy", serif;
    max-width: 100svw;
    height: 100svh;
    max-height: 100svh;

    background-image: linear-gradient(black, black);
    color: white;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

:root {
    --main-bg: #5b5b5b;
    --secondary-bg: #eee;
    --pink: #F06292;
}

.pink-text {
    color: var(--pink);
}

::selection {
    color: var(--pink);
    background-color: rgba(128, 128, 128, 0.274);
}

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

i {
    color: white;
}

header {
    position: fixed;
    z-index: 99;
    left: 1.5%;
    right: 1.5%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 5px;
    backdrop-filter: blur(10px);
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 7px rgb(147, 133, 135);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

header h1 {
    font-size: 1.2rem;
    font-weight: bold;
}

main {
    padding: 20px;
    padding-top: 70px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 10px;
}

nav ul li a:hover {
    color: #F06292;

}

nav ul li a {
    font-size: 0.9em;
    padding: 10px;
    color: white;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
#home {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 90px 24px 60px;
}

/* ---------- Decorative blobs ---------- */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    pointer-events: none;
    animation: blobFloat 8s ease-in-out infinite alternate;
}
.hero-blob--1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, #F06292, #9c27b0);
    top: -120px; left: -100px;
    animation-delay: 0s;
}
.hero-blob--2 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, #3f51b5, #00bcd4);
    bottom: 0; right: -80px;
    animation-delay: 3s;
}
.hero-blob--3 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, #ff9800, #F06292);
    top: 50%; right: 20%;
    animation-delay: 1.5s;
}
@keyframes blobFloat {
    0%   { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(30px, -30px); }
}

/* ---------- Inner grid ---------- */
.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

/* ---------- Text column ---------- */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-greeting {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.65);
    animation: fadeSlideUp 0.6s ease both;
}

.hero-name {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 20%, #F06292 55%, #ce93d8 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeSlideUp 0.7s ease 0.1s both;
}

/* ---------- Role badges ---------- */
.hero-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    animation: fadeSlideUp 0.7s ease 0.2s both;
}
.role-badge {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid rgba(240, 98, 146, 0.45);
    background: rgba(240, 98, 146, 0.1);
    color: #f8bbd0;
    transition: background 0.3s, border-color 0.3s;
}
.role-badge:hover {
    background: rgba(240, 98, 146, 0.25);
    border-color: #F06292;
}

/* ---------- Bio ---------- */
.hero-bio {
    font-size: 0.97rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.72);
    max-width: 520px;
    animation: fadeSlideUp 0.7s ease 0.3s both;
}
.hero-bio strong {
    color: #fff;
}

/* ---------- Stats row ---------- */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeSlideUp 0.7s ease 0.4s both;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-number {
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.stat-suffix {
    font-size: 1.4rem;
    font-weight: 800;
    color: #F06292;
    line-height: 1;
    vertical-align: super;
}
.stat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 2px;
}
.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
}

/* ---------- CTA buttons ---------- */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: fadeSlideUp 0.7s ease 0.5s both;
}
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, #F06292, #ce93d8);
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(240, 98, 146, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cta-primary i { color: #fff; }
.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(240, 98, 146, 0.65);
}
.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1.5px solid rgba(255,255,255,0.2);
    color: #fff !important;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.cta-secondary i { color: #fff; }
.cta-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-3px);
}

/* ---------- Social icons ---------- */
.hero-socials {
    display: flex;
    gap: 12px;
    animation: fadeSlideUp 0.7s ease 0.6s both;
}
.social-icon {
    position: relative;
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(6px);
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.social-icon i { color: #fff; font-size: 1rem; }
.social-icon:hover {
    background: rgba(240, 98, 146, 0.25);
    border-color: #F06292;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(240, 98, 146, 0.35);
}
.social-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: rgba(20,20,20,0.9);
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.social-icon:hover .social-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---------- Image column ---------- */
.hero-image-wrap {
    flex: 0 0 auto;
    position: relative;
    width: clamp(220px, 30vw, 380px);
    height: clamp(220px, 30vw, 380px);
    animation: fadeSlideUp 0.8s ease 0.2s both;
}
.hero-img-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: conic-gradient(from 0deg, #F06292, #ce93d8, transparent 60%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box,
                  linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask: linear-gradient(#fff 0 0) padding-box,
          linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: spinRing 6s linear infinite;
}
@keyframes spinRing {
    to { transform: rotate(360deg); }
}
.hero-img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: radial-gradient(circle at 30% 30%, rgba(240,98,146,0.12), rgba(0,0,0,0.5));
    filter: drop-shadow(0 0 30px rgba(240, 98, 146, 0.35));
}

/* ---------- Scroll indicator ---------- */
.scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.5) !important;
    animation: bounce 2s ease infinite;
}
.scroll-indicator i { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Entry animation ---------- */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

h3 {
    padding: 5px;
}

h3::before {
    content: "";
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--pink);
    bottom: -3px;

}

.skills-text {
    padding: 10px;
}

.skills-container1,
.skills-container2 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    gap: 15px;
    margin-top: 10px;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.skills-container1::-webkit-scrollbar,
.skills-container2::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Opera */
}

.service-card {
    min-width: 320px;
    flex: 0 0 auto;
    background: linear-gradient(145deg, rgba(240, 98, 146, 0.2), rgba(0, 0, 0, 0.4));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 30px 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    cursor: pointer;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px 0 rgba(240, 98, 146, 0.25);
    border-color: rgba(240, 98, 146, 0.4);
}

.service-card h4 {
    font-size: 1.3em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    z-index: 2;
}

.service-card h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--pink);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.service-card:hover h4::after {
    width: 60px;
}

.skill-container {
    flex: 0 0 auto;
    height: 120px;
    width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 15px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    background-color: rgba(128, 128, 128, 0.274);
}

.skill-container:hover {
    box-shadow: 0px 0px 5px gray;
}

.skill-container img {
    width: 100%;
    height: 50px;
}

.skill-container strong {
    font-size: 0.8em;
}

.white-bg {
    background-color: #eeeeee;
    padding: 5px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}

.service-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 20px;
    z-index: 2;
}

.service-icon {
    position: absolute;
    bottom: -15px;
    right: -15px;
    height: 120px;
    width: 120px;
    opacity: 0.15;
    transition: all 0.5s ease;
    filter: drop-shadow(0px 0px 5px rgba(240, 98, 146, 0.5));
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-10deg);
    opacity: 0.3;
}

.project-card {
    background-color: rgba(128, 128, 128, 0.274);
    color: white;

    box-shadow: 0px 0px 10px gray;
}



.project-card:hover {
    transform: scale(1.01);
    -webkit-transform: scale(1.01);
    -moz-transform: scale(1.01);
    -ms-transform: scale(1.01);
    -o-transform: scale(1.01);
}

/* Project category buttons */
.project-category-btn {
    border-color: var(--pink);
    color: white;
    margin: 5px;
    white-space: nowrap;
}

.project-category-btn:hover {
    background-color: var(--pink);
    color: white;
    border: 1px solid var(--pink);
}

.project-category-btn.active {
    background-color: var(--pink);
    color: white;
    border: 1px solid var(--pink);
}

/* Responsive design for project category buttons */
@media (max-width: 768px) {
    .project-categories {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .project-category-btn {
        flex: 1 1 auto;
        margin: 5px;
        min-width: 120px;
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .project-category-btn {
        min-width: 100px;
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

.project-card img {
    height: 200px;
}

.languages {
    padding-left: 10px;
    font-size: 0.9em;
}

.description {
    padding-left: 0px;
    font-size: 0.9em;
}

.languages::before {
    content: " ";
    position: absolute;
    height: 20px;
    width: 3px;
    background-color: var(--pink);
    left: 0px;

}

.link,
.code {
    border: 1px solid var(--pink);
}

.link:hover,
.code:hover {
    border: 1px solid white;
}

/* Responsive improvements for project cards */
@media (max-width: 768px) {
    .project-card {
        min-width: 280px;
        margin-bottom: 15px;
    }

    .project-card img {
        height: 180px;
        object-fit: cover;
    }

    .languages,
    .description {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .project-card {
        min-width: 250px;
    }

    .project-card img {
        height: 150px;
    }

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

    .languages,
    .description {
        font-size: 0.8em;
    }

    .link,
    .code {
        font-size: 0.8em;
        padding: 5px 8px;
    }
}

.welcome-text::before {
    content: "";
    animation-name: text;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}


@keyframes text {
    0% {
        content: "We|";
    }

    15% {
        content: "Welc|";
    }

    30% {
        content: "Welcome t|";
    }

    45% {
        content: "Welcome to Fa|";
    }

    60% {
        content: "Welcome to Fatma's";
    }

    75% {
        content: "Welcome to Fatma's Web|";
    }

    90% {
        content: "Welcome to Fatma's Websi|";
    }

    100% {
        content: "Welcome to Fatma's Website!";
    }

}

@media(max-width:768px) {
    nav {
        display: none;
    }

    /* Hero responsive */
    .hero-inner {
        flex-direction: column-reverse;
        gap: 32px;
        text-align: center;
    }
    .hero-roles { justify-content: center; }
    .hero-cta   { justify-content: center; }
    .hero-socials { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-bio   { margin: 0 auto; }

    .hero-image-wrap {
        width: clamp(160px, 50vw, 260px);
        height: clamp(160px, 50vw, 260px);
    }
}

@media(max-width:500px) {

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


    .skill-container {
        height: 70px;
        width: 70px;
        font-size: 0.5rem;
    }

    .skill-container img {
        height: 30px;
        width: 30px;
        object-fit: contain;
    }
}