:root {
    --primary-color: #BFEFFF;
    --background: #423d3d;
    --text: #ffffff;
    --accent: #87CEFA;
    --dark-accent: #121212;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--background);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Header Styles */
.header {
    padding: 2rem 6rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.5s ease;
    background: transparent;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 6rem;
    margin: 1rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    width: calc(100% - 4rem);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

.logo-full {
    opacity: 1;
    transition: all 0.5s ease;
}

.logo-short {
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.5s ease;
}

.header.scrolled .logo-full {
    opacity: 0;
}

.header.scrolled .logo-short {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 1.1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 100;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text);
    transition: 0.3s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Sections */
section {
    min-height: 100vh;
    padding: 8rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    text-align: center;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    cursor: default;
    transition: all 0.3s ease;
    animation: fadeInUp 1.5s ease forwards;
}

.hero h1:hover {
    color: var(--accent);
    text-shadow: 0 0 15px var(--primary-color);
    letter-spacing: 1px;
}

.hero p {
    color: var (--accent);
    font-size: 1.2rem;
    animation: fadeInUp 1.5s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

/* Scroll Down Button */
.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-down-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.scroll-down-arrow:hover {
    background: var(--primary-color);
}

.scroll-down-arrow:hover svg {
    fill: var(--dark-accent);
}

.scroll-down svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-color);
    transition: all 0.3s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Projects Section */
.projects {
    background: var(--dark-accent);
    text-align: center;
}

.projects h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.explore-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    color: var(--primary-color);
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.explore-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.4s ease;
    z-index: -1;
}

.explore-btn:hover {
    color: var (--dark-accent);
}

.explore-btn:hover:before {
    left: 0;
}

/* Contact Section */
.contact {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
}

.contact h2 {
    font-size: 3rem;
    color: var(--primary-color);
}

.contact-email {
    font-size: 5rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.contact-email:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    color: var(--text);
    opacity: 0.8;
    font-size: 1.1rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    background: var(--dark-accent);
    backdrop-filter: blur(10px);
}

.footer span {
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    animation: pulse 2s infinite;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cursor Effect */
.glow-effect {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(135, 206, 250, 0.15), transparent 70%);
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
}

/* Logo Slider Styles */
.logo-slider {
    background: var(--background);
    padding: 60px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-slide-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(200px * 8); /* 200px per logo * 8 logos (2 sets of 4) */
}

.logo-slide {
    width: 200px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-slide img {
    width: 150px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-slide img:hover {
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 4)); /* 200px per logo * 4 logos */
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 2rem;
    }
    
    .header.scrolled {
        padding: 1rem 2rem;
        margin: 0.5rem 1rem;
        width: calc(100% - 2rem);
        background: rgba(10, 10, 10, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: var(--dark-accent);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        margin: 1rem 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .scroll-down {
        bottom: 20px;
    }

    .projects h2 {
        font-size: 2.5rem;
    }

    .explore-btn {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }

    .contact h2 {
        font-size: 2.5rem;
    }

    .contact-email {
        font-size: 2.5rem;
    }

    .footer {
        font-size: 1rem;
        padding: 1.5rem;
    }

    .logo-slide img {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem 1.5rem;
    }

    .header.scrolled {
        padding: 0.5rem 1.5rem;
        margin: 0.25rem 0.5rem;
        width: calc(100% - 1rem);
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .projects h2 {
        font-size: 2rem;
    }

    .explore-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }

    .contact h2 {
        font-size: 2rem;
    }

    .contact-email {
        font-size: 2rem;
    }

    .footer {
        font-size: 0.9rem;
        padding: 1rem;
    }

    .logo-slide img {
        width: 80px;
    }
}

/* Add this to your existing styles */
.hero h1 .txt {
    border-right: 3px solid var(--primary-color);
    animation: blinkCursor 0.75s infinite;
}

@keyframes blinkCursor {
    0%, 100% { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

/* Update existing h1 styles */
.hero h1 {
    font-size: 5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    cursor: default;
    transition: all 0.3s ease;
    animation: fadeInUp 1.5s ease forwards;
}

.hero h1:hover {
    color: var(--accent);
    text-shadow: 0 0 15px var(--primary-color);
    letter-spacing: 1px;
}

.hero h1 .static-text {
    color: inherit;
}

.hero h1 .typed-text {
    color: inherit;
}

/* Add these new styles inside your existing style tag */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Optional: Add parallax effect to sections */
.hero, .projects, .contact {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/* Update the animation-container and circle styles */
.animation-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;  /* Increased for outer circles */
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
}

.circle {
    position: absolute;
    width: 400px;  /* Increased from 300px */
    height: 400px; /* Increased from 300px */
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.circle-center-left {
    left: 300px;  /* Changed from 200px for more overlap */
    background: rgba(191, 239, 255, 0.3);
}

.circle-center-right {
    right: 300px;  /* Changed from 200px for more overlap */
    background: rgba(191, 239, 255, 0.3);
}

.circle-outer-left {
    left: 150px;  /* Changed from 50px for more overlap */
    background: rgba(0, 51, 255, 0.2);
}

.circle-outer-right {
    right: 150px;  /* Changed from 50px for more overlap */
    background: rgba(0, 51, 255, 0.2);
}