/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
    opacity: 0.5;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 0 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    width: 100%;
}

.nav-logo {
    position: fixed;
    left: 4rem;
    top: 1rem;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.logo-text {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: normal;
    color: #ffffff;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.cv-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cv-btn:hover {
    background: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-ring-circle {
    stroke-dasharray: 125.6;
    stroke-dashoffset: 125.6;
    transition: stroke-dashoffset 0.3s ease;
}

.arrow {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    margin-top: 3rem;
    will-change: transform;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
}

.hero-image-container.active {
    opacity: 1;
    z-index: 2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: translateZ(0);
    will-change: opacity;
}

/* Specific adjustments for second and third images to show face better */
#hero-bg-2 .hero-image {
    object-fit: contain;
    object-position: center center;
}

#hero-bg-3 .hero-image {
    object-fit: cover;
    object-position: center center;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-name {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.typewriter {
    border-right: 3px solid #ffffff;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: #ffffff; }
    51%, 100% { border-color: transparent; }
}

.hero-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    border: 2px solid #ffffff;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-btn.primary {
    background: #ffffff;
    color: #000000;
}

.cta-btn.primary:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.cta-btn.secondary {
    background: transparent;
    color: #ffffff;
}

.cta-btn.secondary:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-icon {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px;
}

.social-icon .icon {
    width: 24px;
    height: 24px;
    filter: invert(1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    border: 2px solid #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.social-icon:hover .icon {
    filter: invert(0);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    margin-top: 0.5rem;
}

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

/* Section Styles */
.section {
    padding: 5rem 0;
    position: relative;
}

/* Center align specific section headings */
.section h3 {
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-line {
    width: 100px;
    height: 3px;
    background: #ffffff;
    margin: 0 auto;
}

.story-section {
    margin-bottom: 4rem;
}

.story-section h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.story-section p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Skills Section */
.skills-section {
    margin-bottom: 4rem;
}

.skills-section h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.skills-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 500;
}

.skill-percentage {
    font-weight: 600;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: #ffffff;
    border-radius: 4px;
    width: 0;
    transition: width 2s ease;
}

/* Gallery Styles */
.gallery-section {
    margin-top: 4rem;
}

.gallery-category {
    margin-bottom: 3rem;
}

.gallery-category h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}



/* Carousel Styles */
.carousel-container {
    position: relative;
    margin-top: 2rem;
    overflow: hidden;
    /* Performance optimizations */
    contain: layout style paint;
    transform: translateZ(0);
    will-change: auto;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 10px;
    /* Enable hardware acceleration for smooth transitions */
    transform: translateZ(0);
    will-change: transform;
    /* Optimize for performance */
    backface-visibility: hidden;
}

.image-gallery.carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
}

.carousel-item {
    flex: 0 0 calc(33.333% - 0.67rem);
    position: relative;
    /* Optimize rendering */
    contain: layout style paint;
    /* Enable hardware acceleration */
    transform: translateZ(0);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: block;
    background-color: #f0f0f0;
    /* Optimize image rendering */
    image-rendering: optimizeQuality;
    /* Prevent layout shift */
    aspect-ratio: 4/3;
    /* Enable hardware acceleration */
    transform: translateZ(0);
    will-change: transform;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.image-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px 10px 10px;
    font-size: 12px;
    text-align: center;
    border-radius: 0 0 10px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-item:hover .image-title {
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel-btn.prev {
    left: -25px;
}

.carousel-btn.next {
    right: -25px;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
}

/* Legacy gallery styles for non-carousel sections */
.image-gallery:not(.carousel) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Tools Section */
.tools-section {
    margin-top: 2rem;
}

.tools-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tool-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tool-item:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

/* Projects Section */
.projects-section {
    margin-top: 4rem;
}

.projects-section h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

/* Figma Preview Styles */
.figma-preview {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.figma-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.figma-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
    background: #f8f9fa;
}

/* Website Preview Styles */
.website-preview {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.website-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.website-preview iframe {
    width: 125%;
    height: 125%;
    border: none;
    border-radius: 15px;
    transform: scale(0.8);
    transform-origin: top left;
    background: #ffffff;
}

.website-preview iframe {
    width: 125%;
    height: 125%;
    border: none;
    border-radius: 15px;
    transform: scale(0.8);
    transform-origin: top left;
    background: #ffffff;
}

/* Social Media Campaign Preview */
.campaign-preview {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.campaign-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.campaign-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.campaign-preview:hover img {
    transform: scale(1.05);
}

/* Project Links */
.project-link {
    display: inline-block;
    margin-top: 15px;
    margin-right: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    color: #000000;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-link:hover {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.project-link.external {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-link.external:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.project-info {
    padding: 1.5rem;
}

.project-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-info p {
    opacity: 0.8;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-type {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Tech Stack */
.tech-stack {
    margin-bottom: 4rem;
}

.tech-stack h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.tech-category h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

/* Development Projects */
.dev-projects-grid {
    display: grid;
    gap: 2rem;
}

.dev-project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.dev-project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.project-screenshot {
    height: 250px;
    overflow: hidden;
}

.project-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dev-project-card:hover .project-screenshot img {
    transform: scale(1.05);
}

.project-details {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-details h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-details p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.project-link {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.project-link:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

.project-link.disabled {
    background: #666;
    color: #ccc;
    cursor: default;
    pointer-events: none;
}

.placeholder-preview {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.placeholder-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1px);
}

.placeholder-content {
    text-align: center;
    color: white;
    z-index: 1;
    position: relative;
}

.placeholder-content h5 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.placeholder-content p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Timeline */
.experience-timeline {
    margin-bottom: 4rem;
}

.experience-timeline h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    top: 0;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-content p {
    opacity: 0.8;
    line-height: 1.6;
}

/* Expertise Grid */
.skills-expertise {
    margin-top: 4rem;
}

.skills-expertise h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.expertise-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.expertise-category h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.expertise-category ul {
    list-style: none;
}

.expertise-category li {
    padding: 0.5rem 0;
    opacity: 0.8;
    position: relative;
    padding-left: 1.5rem;
}

.expertise-category li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #ffffff;
}

/* Social Media Section */
.competencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.competency-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.competency-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.competency-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.competency-item p {
    opacity: 0.8;
    line-height: 1.6;
}

/* Campaign Showcase */
.campaign-showcase {
    margin-bottom: 4rem;
}

.campaign-showcase h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

/* Campaign Grid */
.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.campaign-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.campaign-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Social Media Preview Styles */
.social-preview {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-preview-placeholder {
    text-align: center;
    color: #ffffff;
    padding: 40px 20px;
}

.social-preview-placeholder .social-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.social-preview-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.social-preview-placeholder span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: block;
}

/* Campaign Info Styles */
.campaign-info h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.campaign-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.campaign-link {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    color: #000000;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.campaign-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}

.campaigns-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
}

.campaign-slide {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.campaign-slide.active {
    display: block;
}

.campaign-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.campaign-image {
    height: 300px;
    overflow: hidden;
}

.campaign-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campaign-details {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.campaign-details h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.campaign-details p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

.campaign-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.metric {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.carousel-controls {
    text-align: center;
    margin-top: 2rem;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: scale(1.1);
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-content p {
    opacity: 0.8;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-details h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #ffffff;
}

.whatsapp-cta {
    margin-top: 1rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

.footer-icon {
    width: 24px;
    height: 24px;
    filter: invert(1);
    transition: all 0.3s ease;
}

.footer-social-link:hover .footer-icon {
    filter: invert(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Campaign Metrics */
.campaign-metrics {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.campaign-metrics .metric {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 200px;
    }
    
    .dev-project-card {
        grid-template-columns: 1fr;
    }
    
    .campaign-content {
        grid-template-columns: 1fr;
    }
    
    .campaign-image {
        height: 200px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0;
        padding-left: 3rem;
        padding-right: 0;
    }
    
    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .competencies-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .campaign-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .figma-preview,
    .website-preview,
    .social-preview {
        height: 250px;
    }
    
    .campaign-metrics {
        justify-content: center;
    }
    
    .campaign-metrics .metric {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .cursor,
    .cursor-follower {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
    
    .whatsapp-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Magnetic Button Effect */
.magnetic {
    transition: transform 0.3s ease;
}

.magnetic:hover {
    transform: translate(var(--x, 0), var(--y, 0));
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: #ffffff;
    color: #000000;
}

::-moz-selection {
    background: #ffffff;
    color: #000000;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}