/* ===== VARIABLES & RESET ===== */
:root {
    --primary: #ff8c00;
    --primary-dark: #d87500;
    --primary-light: #ffc27a;
    --secondary: #ff9a33;
    --accent: #8b5cf6;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.3);
    --radius: 12px;
    --radius-lg: 20px;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-dark: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    --orange: #ff8c00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.7;
    font-weight: 400;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.ml11 {
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--light);
}

.ml11 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.1em;
    padding-right: 0.05em;
    padding-bottom: 0.15em;
}

.ml11 .line {
    opacity: 0;
    position: absolute;
    left: 0;
    height: 100%;
    width: 3px;
    background-color: var(--primary);
    transform-origin: 0 50%;
}

.ml11 .letter {
    display: inline-block;
    line-height: 1em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--light);
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray-light);
}

.text-gradient {
    background: var(--orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== LAYOUT & CONTAINERS ===== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

section {
    padding: clamp(4rem, 10vw, 10rem) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 6rem);
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s, height 0.3s, background 0.3s;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-glow {
    width: 50px;
    height: 50px;
    background: rgba(255, 140, 0, 0.123);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: transform 0.15s ease, width 0.3s, height 0.3s;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem clamp(1rem, 5%, 5%);
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

nav.scrolled {
    padding: 1rem clamp(1rem, 5%, 5%);
    background: rgba(15, 23, 42, 0.95);
}

.logo {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 900;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 2.5vw, 2.5rem);
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: clamp(0.8rem, 1.5vw, 1rem) clamp(1.5rem, 2.5vw, 2.5rem);
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--orange);
    color: var(--light);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-dark);
}

.btn-primary:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover:after {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--orange);
}

.btn-secondary:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(255, 140, 0, 0.15), transparent 50%),
        radial-gradient(circle at bottom left, rgba(255, 140, 0, 0.1), transparent 50%);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    color: var(--gray-light);
    margin-bottom: 1rem;
    display: block;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: clamp(1.5rem, 3vw, 3rem);
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 120px;
}

.stat-value {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: 800;
    color: var(--orange);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-image-container {
    width: clamp(300px, 40vw, 500px);
    height: clamp(300px, 40vw, 500px);
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--orange);
    box-shadow: var(--shadow-lg);
    position: relative;
    background: var(--dark);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition);
}

.profile-image-container:hover .profile-image {
    transform: scale(1.05);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: clamp(60px, 8vw, 100px);
    height: clamp(60px, 8vw, 100px);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: clamp(90px, 10vw, 150px);
    height: clamp(90px, 10vw, 150px);
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: clamp(40px, 5vw, 70px);
    height: clamp(40px, 5vw, 70px);
    top: 50%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--dark-light);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
    aspect-ratio: 1;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;
    transition: var(--transition);
    object-fit: cover;
    object-position: center;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), transparent);
    z-index: 1;
}

.about-text h3 {
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ===== SKILLS SECTION ===== */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.skill-category {
    background: var(--dark-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 140, 0, 0.2);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.skill-category h3 i {
    font-size: 1.5rem;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    font-weight: 500;
}

.skill-percentage {
    font-weight: 600;
    color: var(--primary);
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease-in-out;
    position: relative;
    overflow: hidden;
}

.skill-progress:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background: var(--dark-light);
}

/* ================= GRID ================= */
.portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ================= CARD ================= */
.project-card {
    position: relative;
    height: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-overlay h3 {
    color: var(--light);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-overlay p {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.project-card:hover img {
    transform: scale(1.15);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* ================= MODAL ================= */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    background: var(--dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close:hover {
    background: var(--primary);
}

/* ================= SLIDER ================= */
.slider {
    position: relative;
    width: 100%;
    height: 300px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slides img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    padding: 10px;
    user-select: none;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav:hover {
    background: var(--primary);
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* Project Details in Modal */
.modal-body {
    padding: 2rem;
}

.project-details {
    padding: 1.5rem 0;
}

.tech-stack {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.tech-tag {
    background: rgba(255, 140, 0, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== EXPERIENCE SECTION ===== */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient);
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    background: var(--dark-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: calc(50% - 2rem);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 140, 0, 0.2);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 2rem;
}

.timeline-content:before {
    content: '';
    position: absolute;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 5px var(--dark);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-content:before {
    left: -40px;
}

.timeline-item:nth-child(even) .timeline-content:before {
    right: -40px;
}

.timeline-date {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 50px;
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-company {
    color: var(--gray-light);
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-content p {
    margin-bottom: 0;
}

/* ===== PARTNERS SECTION ===== */
.partners {
    background: var(--dark-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.partner-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 140, 0, 0.2);
}

.partner-logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(255, 140, 0, 0.12);
    color: var(--primary);
    font-size: 1.65rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.partner-logo:hover {
    transform: scale(1.08);
    background: rgba(255, 140, 0, 0.18);
}

.partner-name {
    color: var(--light);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.partner-text {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--dark-light);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 140, 0, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-details a,
.contact-details p {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.contact-details a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--dark-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.contact-form {
    background: var(--dark-light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-light);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--light);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ===== NOTIFICATIONS ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--dark-light);
    color: var(--light);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-width: min(400px, 90vw);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left-color: #10b981;
}

.notification.error {
    border-left-color: #e53e3e;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-content i {
    font-size: 1.2rem;
}

.notification.success .notification-content i {
    color: #10b981;
}

.notification.error .notification-content i {
    color: #e53e3e;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    padding: 5rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 2.5vw, 2.5rem);
    margin: 2rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.footer-social a {
    color: var(--gray-light);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary);
}

.copyright {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-visual {
        width: 45%;
    }
}

@media (max-width: 992px) {
    .hero-visual {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .timeline:before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }

    .timeline-content:before {
        left: -50px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .portfolio {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .modal-content {
        margin: 20px;
    }

    .slider {
        height: 250px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .skill-category,
    .contact-form {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .project-card {
        height: 200px;
    }

    .portfolio {
        grid-template-columns: 1fr;
    }

    .feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons .btn {
        width: 100%;
    }

    .stat {
        min-width: 100px;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .project-links .btn {
        width: 100%;
    }
}

/* ===== PARTICLE BACKGROUND ===== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* ===== LOADER ===== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-size: 1.2rem;
    color: var(--gray-light);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    box-shadow: var(--shadow);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--primary-dark);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-menu-links a {
    color: var(--light);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    color: var(--primary);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== PRINT STYLES ===== */
@media print {

    .cursor,
    .cursor-glow,
    #particles-js,
    .back-to-top,
    .mobile-menu-btn,
    .mobile-menu,
    .loader {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .text-gradient {
        -webkit-text-fill-color: black !important;
        color: black !important;
    }

    h1 {
        -webkit-text-fill-color: black !important;
        color: black !important;
    }

    .btn,
    .social-links,
    .hero-visual {
        display: none !important;
    }
}