html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}
body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, rgb(250, 250, 250) 0%, rgb(240, 245, 255) 100%);
    color: rgb(51, 51, 51);
    position: relative;
    overflow-x: hidden;
}
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}
.animated-icon {
    position: absolute;
    opacity: 0.15;
    font-size: 150px;
    animation: float 15s infinite linear;
    font-family: monospace;
    background: linear-gradient(45deg, #4074ff, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    background: linear-gradient(45deg, #4074ff, #40c9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    font-size: 180px;
    text-shadow: 0 0 15px rgba(64, 116, 255, 0.4);
}
.icon-2 {
    bottom: 15%;
    right: 15%;
    animation-delay: -5s;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    font-size: 180px;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
}
.icon-3 {
    top: 50%;
    left: 20%;
    animation-delay: -10s;
    background: linear-gradient(45deg, #6b4dff, #45caff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    font-size: 180px;
    text-shadow: 0 0 15px rgba(107, 77, 255, 0.4);
}
@keyframes float {
    0% {
        transform: rotate(0deg) translate(30px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translate(30px) rotate(-360deg);
    }
}
.container {
    width: 100%;
}
h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}
h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgb(102, 102, 102);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}
.nav-link {
    color: rgb(51, 51, 51);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 4px;
    background: rgb(255, 255, 255);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}
.nav-link:hover {
    transform: translateY(-2px);
}
.cta-link {
    background: rgb(64, 116, 255);
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(64, 116, 255, 0.2);
    font-size: 1.2rem;
    padding: 16px 32px;
}
.cta-link:hover {
    background: rgb(32, 96, 255);
}
.project-carousel {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 500px;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}
.project-preview {
    margin: 0px auto;
    width: 90%;
    max-width: 800px;
    padding: 20px;
    position: absolute;
    backface-visibility: hidden;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    display: block;
    touch-action: pan-x pan-y;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out;
    overflow-y: auto;
}
.project-preview.active {
    display: block;
}
.project-preview-content {
    object-fit: contain;
    width: 100%;
}
.project-preview img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}
.project-preview:hover img {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}
.image-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    max-width: 90%;
    max-height: 90vh;
    overflow: auto;
}
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px 40px;
    text-align: center;
    scroll-snap-align: start;
    position: relative;
}
.project-caption {
    margin: 25px auto 0;
    font-size: 1.2rem;
    color: rgb(60, 60, 60);
    max-width: 800px;
    line-height: 1.8;
    padding: 20px 30px;
    position: relative;
    text-align: center;
}
.project-caption::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #4074ff, #40c9ff);
    border-radius: 2px;
}
.carousel-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(64, 116, 255, 0.3);
    cursor: pointer;
}
.dot.active {
    background: rgb(64, 116, 255);
}
/* New styles for approach section */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    width: 100%;
}
.approach-step {
    background: white;
    padding: clamp(20px, 5vw, 30px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.approach-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(64, 116, 255, 0.2);
}
.step-number {
    position: absolute;
    top: -20px;
    right: -5px;
    font-size: clamp(80px, 10vw, 120px);
    font-weight: bold;
    color: rgba(64, 116, 255, 0.1);
    z-index: 0;
}
.step-title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #4074ff;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}
.step-content {
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    font-size: clamp(0.9rem, 2vw, 1rem);
}
@media (max-width: 768px) {
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .approach-step {
        margin: 0 10px;
    }
}
/* New styles for contact section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}
.contact-item {
    background: white;
    padding: clamp(15px, 4vw, 20px) clamp(15px, 4vw, 20px) 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}
.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(64, 116, 255, 0.2);
}
.contact-icon {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: #4074ff;
    margin-bottom: clamp(15px, 3vw, 20px);
}
.contact-title {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #333;
    margin-bottom: clamp(10px, 3vw, 15px);
}
.contact-info {
    color: #666;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
}
.social-links {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 3vw, 20px);
    margin-top: clamp(10px, 3vw, 15px);
    flex-wrap: wrap;
}
.social-link {
    color: #4074ff;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    transition: transform 0.3s ease;
}
.social-link:hover {
    transform: translateY(-3px);
}
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .contact-item {
        margin: 0 10px;
    }
}
/* Go up button styles */
.go-up-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #4074ff;
    color: white;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(64, 116, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}
.go-up-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(64, 116, 255, 0.4);
}
.go-up-btn.visible {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Navigation arrows */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #4074ff;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}
.slide-nav:hover {
    background: #4074ff;
    color: white;
}
.prev-slide {
    left: 20px;
}
.next-slide {
    right: 20px;
}