/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #00ffff;
    transition: width 0.3s;
}

nav ul li a:hover {
    color: #00ffff;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    margin-top: 80px;  /* Match the header height */
    height: calc(100vh - 80px); /* Hero now fills the remaining space */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Prevents image from going behind header */
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("images/Manish02.jpg");
    background-size: cover;
    background-position: center 25% ; /* Center the image */
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
}
.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #b0b0b0;
}

.hero-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.icon {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.broadcast-icon {
    animation-delay: 0s;
}

.devops-icon {
    animation-delay: 1s;
}

/* .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
} */

.waveform {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,60 C150,100 350,0 600,60 C850,120 1050,20 1200,60 L1200,120 L0,120 Z" fill="rgba(0,255,255,0.1)"/></svg>') no-repeat center bottom;
    background-size: cover;
    animation: wave 4s ease-in-out infinite;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: particleMove 20s linear infinite;
}

/* Sections */
section {
    padding: 5rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #00ffff;
    text-align: center;
    text-shadow: 0 0 10px #00ffff;
}

/* About Section */
.about {
    position: relative;
}
.about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.5), url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80") no-repeat center center / cover;
    background-blend-mode: overlay;
    opacity: 0.2;
    z-index: -1;
}

.timeline {
    margin-top: 3rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInLeft 1s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.5s; }
.timeline-item:nth-child(2) { animation-delay: 1s; }

.timeline-dot {
    width: 20px;
    height: 20px;
    background: #00ffff;
    border-radius: 50%;
    margin-right: 2rem;
    box-shadow: 0 0 10px #00ffff;
}

.timeline-content h3 {
    color: #00ffff;
    margin-bottom: 0.5rem;
}

/* Skills Section */
.skills {
    position: relative;
}
.skills::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("images/DevOps1.jpg") no-repeat center center / cover;
    background-blend-mode: normal;
    opacity: 0.1;
    z-index: -1;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.skill-cluster {
    background: rgba(0, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-cluster:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(84, 4, 154, 0.155);
}

.skill-cluster h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    text-align: center;
}

.skill-cluster ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.skill-cluster li {
    background: rgba(0, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: background 0.3s;
}

.skill-cluster li:hover {
    background: rgba(0, 255, 255, 0.1);
}

/* Projects Section */
.project-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: 1px solid #00ffff;
    color: #00ffff;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 5px;
}

.tab-btn.active {
    background: #00ffff;
    color: #0a0a0a;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-tile {
    background: rgba(0, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-tile:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.project-tile h3 {
    color: #00ffff;
    margin-bottom: 1rem;
}

/* Experience Section */
.experience {
    position: relative;
}
/*.experience::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("images/Manish01.jpg") no-repeat center center / cover;
    background-position: center 20%;
    opacity: 0.2;
    z-index: -1;
} */

.timeline-vertical {
    position: relative;
    margin-top: 3rem;
}

.timeline-vertical::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00ffff, #ff00ff);
    transform: translateX(-50%);
}
.timeline-vertical::before {
    display: none;
}


.timeline-item-vertical {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item-vertical:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 2px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    z-index: 1;
    position: relative;
}

.timeline-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.timeline-item-vertical:nth-child(odd) .timeline-icon::after {
    right: -20px;
    border-left: 10px solid rgba(0, 255, 255, 0.5);
}

.timeline-item-vertical:nth-child(even) .timeline-icon::after {
    left: -20px;
    border-right: 10px solid rgba(0, 255, 255, 0.5);
}

.timeline-content-vertical {
    background: rgba(26, 26, 46, 0.8);
    padding: 2rem;
    border-radius: 10px;
    margin: 0 2rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
    flex: 1;
}

.timeline-content-vertical h3 {
    color: #00ffff;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    background: rgba(26, 26, 46, 0.5);
}

.contact-info {
    margin-top: 2rem;
}

.contact-btn {
    display: inline-block;
    background: #00ffff;
    color: #0a0a0a;
    padding: 1rem 2rem;
    margin: 0 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: bold;
}

.contact-btn:hover {
    background: #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

/* Footer */
footer {
    background: rgba(10, 10, 10, 0.9);
    text-align: center;
    padding: 1rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(0, 255, 255, 0.8), 0 0 40px rgba(0, 255, 255, 0.6);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes wave {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-25px);
    }
}

@keyframes particleMove {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100vh);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */

/* Tablet Styles (768px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .tab-panel {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .timeline-content-vertical {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .project-tile {
        padding: 1.5rem;
    }
}

/* Laptop Styles (1025px to 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .tab-panel {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Desktop Styles (1441px and above) */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.6rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .tab-panel {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

/* Mobile Styles (up to 768px) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    nav ul {
        display: none;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .tab-panel {
        grid-template-columns: 1fr;
    }

    .timeline-item-vertical {
        flex-direction: column !important;
        text-align: center;
    }

    .timeline-content-vertical {
        margin: 1rem 0;
        padding: 1.5rem;
    }

    .contact-btn {
        display: block;
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }

    .project-tile {
        padding: 1.5rem;
    }

    .skill-cluster {
        padding: 1.5rem;
    }
}
