/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --secondary: #0891b2;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gray: #64748b;
    --success: #10b981;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== ANIMATED GRID BACKGROUND ===== */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 1;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

/* ===== PAGE TRANSITION OVERLAY ===== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
    pointer-events: none;
}

.page-transition.active {
    transform: translateY(0);
}

body.page-transitioning {
    overflow: hidden;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

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

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 0.5rem;
}

.hamburger:hover {
    opacity: 0.8;
}

.hamburger:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 2rem 2rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.hero-label {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 2.5rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-weight: 600;
    min-height: 1.3em;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-description strong {
    color: var(--primary);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== TYPEWRITER ANIMATION ===== */
.typewriter-wrapper {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typewriter-cursor {
    display: inline-block;
    color: var(--primary);
    font-weight: 300;
    animation: blink 0.7s step-end infinite;
    margin-left: 2px;
}

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

/* ===== FLOATING ELEMENTS ===== */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.float-item {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.float-item:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.float-item:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 4s;
}

.float-item:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 8s;
}

.float-item:nth-child(4) {
    top: 40%;
    right: 25%;
    animation-delay: 12s;
}

.float-item:nth-child(5) {
    bottom: 30%;
    right: 10%;
    animation-delay: 16s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(5deg); }
    50% { transform: translateY(-60px) rotate(-5deg); }
    75% { transform: translateY(-30px) rotate(5deg); }
}

/* ===== BUTTONS ===== */
.btn {
    padding: 1rem 2rem;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border-radius: 4px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

/* ===== PAGE SECTIONS ===== */
.page-section {
    min-height: 100vh;
    padding: 120px 2rem 4rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-description {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ABOUT PAGE ===== */
.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-image {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: var(--dark);
    border-radius: 4px;
    z-index: 0;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border-radius: 8px;
}

.about-image span {
    position: relative;
    z-index: 1;
    font-size: 8rem;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-text strong {
    color: var(--primary);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.highlight-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== PROJECTS PAGE ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.project-header {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-icon {
    font-size: 4rem;
    position: relative;
    z-index: 1;
}

.project-body {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.project-description {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.project-features span {
    font-size: 0.85rem;
    color: var(--success);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    padding: 0.4rem 0.8rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--primary);
}

/* ===== SKILLS PAGE ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.skill-card:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.skill-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.skill-description {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-item {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: var(--primary);
    color: white;
}

.certification-section {
    margin-top: 4rem;
}

.certification-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.certification-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.cert-icon {
    font-size: 4rem;
}

.cert-info h3 {
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.cert-info p {
    color: var(--gray);
}

.cert-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--success);
    color: white;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* ===== EXPERIENCE / EDUCATION PAGE ===== */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -0.55rem;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border: 3px solid var(--dark);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.timeline-date {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.timeline-company {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-location {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--gray);
    line-height: 1.8;
    padding-left: 1.25rem;
}

.timeline-description li {
    margin-bottom: 0.5rem;
}

/* ===== WHAT I BRING PAGE ===== */
.bring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.bring-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.bring-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.2);
}

.bring-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.bring-card-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.08);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.bring-card:hover .bring-card-number {
    color: rgba(37, 99, 235, 0.15);
}

.bring-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 0.75rem;
}

.bring-card-text {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

.bring-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 12px;
}

.bring-cta h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bring-cta p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

/* ===== CONTACT PAGE ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 8px;
    padding: 2rem;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 4px;
    color: var(--light);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.btn-submit {
    width: 100%;
    position: relative;
}

.btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    border-radius: 4px;
    color: var(--success);
    margin-bottom: 2rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.contact-info-list {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.info-content a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary);
}

.info-content p {
    color: var(--gray);
}

.work-authorization {
    padding-top: 2rem;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
}

.work-authorization h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.work-authorization p {
    color: var(--gray);
}

.auth-note {
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.5rem;
}

/* ===== ANIMATIONS ===== */
.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.animate-up:nth-child(1) { animation-delay: 0s; }
.animate-up:nth-child(2) { animation-delay: 0.05s; }
.animate-up:nth-child(3) { animation-delay: 0.1s; }
.animate-up:nth-child(4) { animation-delay: 0.15s; }
.animate-up:nth-child(5) { animation-delay: 0.2s; }
.animate-up:nth-child(6) { animation-delay: 0.25s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-image {
        width: 250px;
        height: 250px;
        font-size: 6rem;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

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

    .hamburger {
        display: flex;
    }

    .logo {
        font-size: 1.3rem;
    }

    /* Hero Section */
    .hero {
        padding: 100px 1.5rem 2rem;
    }

    .hero-label {
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Page Sections */
    .page-section {
        padding: 100px 1.5rem 3rem;
    }

    .section-tag {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .section-description {
        font-size: 1rem;
    }

    /* About Page */
    .about-image {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .highlight-card {
        padding: 1.5rem;
    }

    .highlight-icon {
        font-size: 2.5rem;
    }

    .highlight-card h3 {
        font-size: 1.1rem;
    }

    .highlight-card p {
        font-size: 0.9rem;
    }

    /* Projects Page */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: auto;
        height: auto;
    }

    .project-header {
        height: 120px;
    }

    .project-body {
        padding: 1.5rem;
    }

    .project-icon {
        font-size: 3rem;
    }

    .project-title {
        font-size: 1.3rem;
    }

    .project-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .project-features {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .project-features span {
        font-size: 0.8rem;
    }

    .tech-tag {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }

    .project-links {
        flex-wrap: wrap;
    }

    /* Skills Page */
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-icon {
        font-size: 2rem;
    }

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

    .skill-description {
        font-size: 0.9rem;
    }

    .skill-item {
        font-size: 0.85rem;
    }

    .certification-title {
        font-size: 1.5rem;
    }

    .cert-icon {
        font-size: 3rem;
    }

    .cert-info h3 {
        font-size: 1.1rem;
    }

    .cert-info p {
        font-size: 0.9rem;
    }

    /* Education Page */
    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 2rem;
        margin-bottom: 2.5rem;
        min-height: auto;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .timeline-date {
        font-size: 0.8rem;
    }

    .timeline-title {
        font-size: 1.2rem;
        margin: 0.5rem 0;
    }

    .timeline-company {
        font-size: 1rem;
    }

    .timeline-location {
        font-size: 0.85rem;
    }

    .timeline-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .timeline-description li {
        margin-bottom: 0.5rem;
    }

    /* What I Bring Page */
    .bring-grid {
        grid-template-columns: 1fr;
    }

    .bring-card {
        padding: 1.5rem;
    }

    .bring-card-number {
        font-size: 2.5rem;
    }

    .bring-card-title {
        font-size: 1.15rem;
    }

    .bring-card-text {
        font-size: 0.9rem;
    }

    .bring-cta {
        padding: 2rem 1.5rem;
    }

    .bring-cta h2 {
        font-size: 1.5rem;
    }

    .bring-cta p {
        font-size: 0.95rem;
    }

    /* Contact Page */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 1.3rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 0.65rem;
    }

    .availability-badge {
        font-size: 0.9rem;
        padding: 0.65rem 1rem;
    }

    .info-icon {
        font-size: 1.3rem;
    }

    .info-content h4 {
        font-size: 0.85rem;
    }

    .info-content a,
    .info-content p {
        font-size: 0.9rem;
    }

    .work-authorization h4 {
        font-size: 1rem;
    }

    .work-authorization p {
        font-size: 0.9rem;
    }

    /* Floating Elements */
    .float-item {
        font-size: 1.5rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .about-image {
        width: 180px;
        height: 180px;
        font-size: 4rem;
    }

    .project-header {
        height: 120px;
    }

    .project-icon {
        font-size: 2.5rem;
    }
}
