:root {
    --bg-color: #030303;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
}

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

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    position: relative;
}

.canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.canvas-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 1;
}

#scroll-canvas {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.huge-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Outfit', sans-serif;
    font-size: 28vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    letter-spacing: -0.04em;
}

.glass-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1500px;
    min-height: calc(100vh - 4rem);
    background: rgba(3, 3, 3, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 2.5rem 4rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 4rem;
}

/* Increased logo size */
.logo img {
    height: 52px; 
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

.btn-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(37, 211, 102, 0.2);
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Content */
.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    margin-bottom: auto;
    gap: 2rem;
}

.left-content {
    max-width: 60%;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #ddd;
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary-color);
}

.left-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #FFFFFF 0%, #A0A0A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.left-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 80%;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.6rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.4);
}

.right-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    width: 380px;
    justify-content: flex-end;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 1.8rem;
    backdrop-filter: blur(20px);
}

.stat-card {
    width: calc(50% - 0.6rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.stat-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* About Section */
.about-section {
    width: 100%;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.about-container {
    width: 100%;
    max-width: 1200px;
    background: rgba(13, 17, 23, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #A0A0A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.status-box {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    color: var(--text-main);
    font-size: 1.05rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 0 15px #25d366;
    flex-shrink: 0;
}

.status-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Skills Section (Carousel) */
.skills-section {
    width: 100%;
    padding: 2rem 2rem 6rem 2rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.skills-container {
    width: 100%;
    max-width: 1200px;
}

.skills-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    text-align: center;
}

.skills-header .section-title {
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skill-card-v2 {
    background: rgba(13, 17, 23, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.skill-card-v2:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    color: #fff;
    flex-grow: 1;
}

.card-badge {
    background: rgba(37, 99, 235, 0.1); /* Primary color light */
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
}

.card-body {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.skill-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
}

.card-footer:hover {
    color: #fff;
}

.card-footer svg {
    transition: transform 0.3s;
}

.card-footer:hover svg {
    transform: translateX(4px);
    color: #fff;
}

/* Projects Section */
.projects-section {
    width: 100%;
    padding: 2rem 2rem 6rem 2rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.projects-container {
    width: 100%;
    max-width: 1300px;
}

.projects-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-grid-card {
    background: rgba(13, 17, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.project-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-img-wrapper {
    width: 100%;
    height: 320px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: #000;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-body-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}

.card-title-row h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
}

.status-badge {
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.live {
    color: #fff;
}

.status-badge.completed {
    background: #2563eb;
    color: #fff;
    padding: 3px 10px;
    border-radius: 50px;
}

.card-category {
    font-size: 0.9rem;
    color: #3b82f6;
    font-weight: 500;
    margin-bottom: 1rem;
}

.card-summary {
    font-size: 1rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.card-techs span {
    font-size: 0.75rem;
    color: #e2e8f0;
    background: transparent;
    border: 1px solid #3b82f6;
    padding: 4px 14px;
    border-radius: 50px;
    font-weight: 500;
}

.btn-live-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: #2563eb;
    color: #fff;
    padding: 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-live-demo:hover {
    background: #1d4ed8;
}

/* Services Interactive Section */
.services-section {
    width: 100%;
    padding: 2rem 2rem 6rem 2rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.services-container {
    width: 100%;
    max-width: 1000px;
}

.services-interactive-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.service-display-card {
    background: rgba(13, 17, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-bottom: 2rem;
}

.service-display-card.fade-out {
    opacity: 0;
    transform: scale(0.98);
}

.sd-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #3b82f6;
}

.sd-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.sd-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.sd-content p {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.sd-highlights-container h4 {
    font-size: 1rem;
    color: #f8fafc;
    margin-bottom: 1rem;
    font-weight: 600;
}

.sd-highlights-container ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
}

.sd-highlights-container li {
    font-size: 0.95rem;
    color: #94a3b8;
    background: rgba(255,255,255,0.03);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.05);
}

.service-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-bottom: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* Wheel Container */
.services-wheel-container {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.wheel-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
}

/* The Wheel */
.services-wheel {
    position: absolute;
    top: 80px;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    touch-action: pan-y;
    z-index: 1;
    cursor: grab;
}

.services-wheel:active {
    cursor: grabbing;
}

/* The Cards on the Wheel */
.wheel-card {
    position: absolute;
    width: 160px;
    height: 120px;
    background: rgba(13, 17, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    color: #94a3b8;
    transition: all 0.4s ease;
    user-select: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.wheel-card.active {
    background: rgba(15, 23, 42, 0.7);
    color: #fff;
    border-color: #3b82f6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.wheel-card svg {
    width: 24px;
    height: 24px;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.wheel-card.active svg {
    color: #3b82f6;
}

.wheel-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Experience Section */
.experience-section {
    width: 100%;
    padding: 2rem 2rem 6rem 2rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.experience-container {
    width: 100%;
    max-width: 1000px;
}

.section-header-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5rem;
}

.header-line {
    width: 30px;
    height: 3px;
    background: #0ea5e9;
    margin-bottom: 1rem;
    border-radius: 2px;
}

.section-header-centered .section-title {
    font-size: 2.2rem;
    font-weight: 700;
}

.timeline {
    display: flex;
    flex-direction: column;
}

.timeline-item {
    display: flex;
    position: relative;
}

.timeline-date {
    width: 180px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 2.5rem;
    padding-top: 0.3rem;
    font-size: 0.9rem;
    color: #94a3b8;
    font-family: 'Inter', sans-serif;
}

.timeline-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 3rem;
}

.marker-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #0ea5e9;
    background: var(--bg-color);
    margin-top: 0.4rem;
    position: sticky;
    top: 150px;
    z-index: 2;
}

.marker-line {
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item:first-child .marker-line {
    top: 12px;
}

.timeline-content {
    flex-grow: 1;
    padding-bottom: 4rem;
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: #f8fafc;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.company-info {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #e2e8f0;
}

.employment-type {
    font-size: 0.9rem;
    color: #64748b;
}

.experience-desc {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.responsibilities h4 {
    font-size: 0.95rem;
    color: #f8fafc;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.responsibilities ul {
    list-style-type: disc;
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}

.responsibilities li {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.responsibilities li::marker {
    color: #64748b;
}

.experience-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.experience-techs span {
    font-size: 0.75rem;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 14px;
    border-radius: 50px;
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    width: 100%;
    padding: 4rem 2rem 6rem 2rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.contact-container {
    width: 100%;
    max-width: 1000px;
}

.contact-card {
    display: flex;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(13, 17, 23, 0.4);
}

/* Left Column */
.contact-left {
    background: rgba(37, 99, 235, 0.7);
    padding: 3.5rem 3rem;
    flex: 1;
    color: #fff;
}

.contact-left h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.contact-left p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.social-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-list li a {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.social-list li a:hover {
    opacity: 0.8;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Right Column */
.contact-right {
    background: transparent;
    padding: 3.5rem 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-right h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.contact-right p {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-primary, .btn-outline {
    width: 100%;
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #60a5fa;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: #3b82f6;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
    width: 100%;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.footer p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s;
}

.close-menu:hover {
    transform: scale(1.1);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
}

.mobile-nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    transition: color 0.3s;
}

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

.mobile-nav-links .mobile-btn-whatsapp {
    color: #25d366;
    margin-top: 1rem;
    font-size: 1.2rem;
    border: 1px solid rgba(37, 211, 102, 0.5);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .glass-container {
        padding: 2rem;
    }
    .left-content h1 {
        font-size: 3.5rem;
    }
    .right-content {
        width: 320px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .left-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }
    .right-content {
        width: 100%;
        justify-content: flex-start;
    }
    .stat-card {
        width: calc(33.33% - 0.8rem);
        min-width: 150px;
    }
    .huge-bg-text {
        font-size: 25vw;
    }
    .nav-links {
        display: none; 
    }
    /* Logo on iPad */
    .logo img {
        height: 48px;
    }
}

@media (max-width: 768px) {
    .hero-wrapper {
        padding: 1rem;
    }
    .glass-container {
        padding: 1.5rem;
        min-height: calc(100vh - 2rem);
    }
    .left-content h1 {
        font-size: 2.5rem;
    }
    .left-content p {
        font-size: 1rem;
        max-width: 100%;
    }
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    .btn-primary, .btn-outline {
        width: 100%;
        justify-content: center;
    }
    .stat-card {
        width: calc(50% - 0.6rem);
    }
    .stat-card h3 {
        font-size: 2.2rem;
    }
    .huge-bg-text {
        font-size: 32vw;
        letter-spacing: 0;
    }
    .btn-whatsapp {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .navbar {
        margin-bottom: 2rem;
    }
    /* Logo on Mobile */
    .logo img {
        height: 44px;
    }
    
    /* About Section Mobile */
    .about-section {
        padding: 4rem 1rem;
    }
    .about-container {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .about-content p {
        font-size: 1.05rem;
        text-align: left;
    }
    .status-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        border-radius: 20px;
        gap: 0.8rem;
    }
    .status-text {
        font-size: 0.95rem;
    }
    
    /* Skills Section Mobile */
    .skills-section {
        padding: 2rem 1rem 4rem 1rem;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .skills-header .section-title {
        font-size: 2.2rem;
        text-align: center;
        width: 100%;
    }
    .skill-card-v2 {
        padding: 1.5rem;
    }
    
    /* Projects Section iPad & Mobile */
    .projects-section {
        padding: 2rem 1rem 4rem 1rem;
    }
    .projects-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .card-img-wrapper {
        height: 200px;
    }
    .card-body-content {
        padding: 1.2rem;
    }
    .card-title-row h3 {
        font-size: 1.2rem;
    }
    .card-summary {
        font-size: 0.85rem;
    }
    
    /* Experience Section iPad */
    .timeline-date {
        width: 140px;
        padding-right: 1.5rem;
    }
    .timeline-marker {
        margin-right: 2rem;
    }
}

/* Extra small devices (phones) */
@media (max-width: 576px) {
    .projects-section {
        padding: 2rem 0.5rem 4rem 0.5rem;
    }
    .projects-grid-v2 {
        gap: 0.6rem;
    }
    .project-grid-card {
        border-radius: 8px;
    }
    .card-img-wrapper {
        height: 100px;
    }
    .card-body-content {
        padding: 0.6rem;
    }
    .card-title-row h3 {
        font-size: 0.85rem;
    }
    .status-badge {
        font-size: 0.55rem;
        padding: 2px 4px;
    }
    .status-badge.live {
        font-size: 0.65rem;
    }
    .card-category {
        font-size: 0.65rem;
        margin-bottom: 0.4rem;
    }
    .card-summary {
        font-size: 0.65rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
        /* Line clamp to prevent long summaries from breaking layout on small phones */
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .card-techs {
        gap: 0.3rem;
        margin-bottom: 0.6rem;
    }
    .card-techs span {
        font-size: 0.5rem;
        padding: 2px 5px;
        border-width: 0.5px;
    }
    .btn-live-demo {
        padding: 0.4rem;
        font-size: 0.7rem;
        gap: 0.2rem;
    }
    .btn-live-demo svg {
        width: 12px;
        height: 12px;
    }
    
    /* Experience Section Mobile */
    .experience-section {
        padding: 2rem 1rem 4rem 1rem;
    }
    .timeline-item {
        flex-direction: column;
    }
    .timeline-date {
        text-align: left;
        width: 100%;
        padding-right: 0;
        padding-left: 2.2rem;
        margin-bottom: 0.5rem;
    }
    .timeline-marker {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        margin-right: 0;
    }
    .marker-circle {
        margin-top: 0.4rem; 
        top: 100px;
    }
    .marker-line {
        top: 0;
        bottom: 0; 
    }
    .timeline-item:first-child .marker-line {
        top: 12px;
    }
    .timeline-content {
        padding-left: 2.2rem;
        padding-bottom: 3rem;
    }
    
    /* Services Section Mobile */
    .service-display-card {
        padding: 2rem 1.5rem;
    }
    .sd-content h3 {
        font-size: 1.6rem;
    }
    .sd-content p {
        font-size: 0.95rem;
    }
    .sd-highlights-container li {
        font-size: 0.85rem;
    }
    .services-wheel {
        width: 500px;
        height: 500px;
        top: 50px;
    }
    .wheel-card {
        width: 120px;
        height: 100px;
        padding: 0.8rem;
    }
    .wheel-card-title {
        font-size: 0.75rem;
    }
    .services-wheel-container {
        height: 200px;
    }
    
    /* Contact Section Mobile */
    .contact-section {
        padding: 2rem 1rem 4rem 1rem;
    }
    .contact-card {
        flex-direction: column;
    }
    .contact-left, .contact-right {
        padding: 2.5rem 1.5rem;
    }
    
    #scroll-canvas {
        object-fit: cover;
        object-position: center;
    }
}
