/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #000000;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    height: 100%;
}

.hero-text {
    flex: 1;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000000;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #666666;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666666;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #000000;
    border: 2px solid #cccccc;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 100%;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1), transparent);
    backdrop-filter: blur(10px);
    box-shadow:
            inset -10px -10px 20px rgba(0, 0, 0, 0.3),
            inset 10px 10px 20px rgba(255, 255, 255, 0.5),
            0 10px 25px rgba(0, 0, 0, 0.4),
            0 0 15px rgba(255, 107, 107, 0.3),
            0 0 25px rgba(78, 205, 196, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
    overflow: hidden;
    transition: transform 3s ease;
}

.floating-circle::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.circle-1 {
    width: 175px;
    height: 175px;
    top: 10vh;
    left: 20%;
}

.circle-2 {
    width: 175px;
    height: 175px;
    top: 25vh;
    left: 50%;
}

.circle-3 {
    width: 175px;
    height: 175px;
    top: 35vh;
    left: 80%;
}

.circle-4 {
    width: 175px;
    height: 175px;
    top: 10%;
    left: 60%;
}

.circle-5 {
    width: 175px;
    height: 175px;
    top: 70%;
    left: 30%;
}

.circle-6 {
    width: 175px;
    height: 175px;
    top: 30%;
    left: 10%;
}

.circle-7 {
    width: 175px;
    height: 175px;
    top: 80%;
    left: 70%;
}

.circle-8 {
    width: 175px;
    height: 175px;
    top: 50%;
    left: 40%;
}

.circle-9 {
    width: 175px;
    height: 175px;
    top: 15%;
    left: 85%;
}

.circle-10 {
    width: 175px;
    height: 175px;
    top: 65%;
    left: 15%;
}

.circle-11 {
    width: 175px;
    height: 175px;
    top: 25%;
    left: 45%;
}

.circle-12 {
    width: 175px;
    height: 175px;
    top: 75%;
    left: 55%;
}

.circle-13 {
    width: 175px;
    height: 175px;
    top: 5%;
    left: 35%;
}

.circle-14 {
    width: 175px;
    height: 175px;
    top: 85%;
    left: 25%;
}

.circle-15 {
    width: 175px;
    height: 175px;
    top: 45%;
    left: 90%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes moveHorizontal {
    0% { transform: translateX(0%); }
    25% { transform: translateX(25%); }
    50% { transform: translateX(0%); }
    75% { transform: translateX(-25%); }
    100% { transform: translateX(0%); }
}


/* Sections */
section {
    padding: 100px 0;
}

.about, .experience, .skills, .contact {
    background: white;
}

.about h2, .experience h2, .skills h2, .contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.about p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #cccccc;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #cccccc;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 4px #cccccc;
}

.timeline-content {
    margin-left: 80px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #000000;
}

.period {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 600;
}

.timeline-content p {
    margin-bottom: 20px;
    color: #555;
}

.skills-used {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skills-used span {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.skill-category h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tags span {
    background: #f5f5f5;
    color: #333333;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tags span:hover {
    background: #cccccc;
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    text-align: center;
    background: #f8f8f8;
    color: #333333;
}

.contact p {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333333;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.social-link i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.social-link span {
    font-weight: 600;
}

/* Footer */
.footer {
    background: #f8f8f8;
    color: #333333;
    text-align: center;
    padding: 20px 0;
}

.footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .nav-menu {
        display: none; /* Could be made into a hamburger menu */
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-content {
        margin-left: 60px;
    }

    .timeline-item::before {
        left: 10px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #5a67d8, #6b46c1);
}