* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
    color: #eaeaea;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(14px);
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #eaeaea;
    position: relative;
}

h2 {
    padding-bottom: 8px ;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: #00c6ff;
    transition: width 0.3s ease;
}

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

.hamburger {
    width: 30px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background: #ffffff;
    border-radius: 4px;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

.hero {
    height: 100vh;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
}

.hero p {
    margin: 15px 0 30px;
    opacity: 0.85;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    margin: 5px;
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: translateY(-4px);
}

.primary {
    background: #00c6ff;
    color: #000;
}

.secondary {
    border: 1px solid #00c6ff;
    color: #00c6ff;
}

.section {
    padding: 100px 12%;
}

.dark {
    background: rgba(0, 0, 0, 0.35);
}

.card {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.06);
    padding: 25px;
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.skill {
    background: rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 14px;
    text-align: center;
    transition: transform 0.3s ease;
}

.skill:hover {
    transform: scale(1.05);
}

.contact-links a {
    margin-right: 20px;
    color: #00c6ff;
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 30px;
    opacity: 0.7;
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    margin-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(#00c6ff, transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 50px;
}

.timeline-dot {
    position: absolute;
    left: -9px;
    top: 10px;
    width: 18px;
    height: 18px;
    background: #00c6ff;
    border-radius: 50%;
    box-shadow: 0 0 15px #00c6ff;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.06);
    padding: 25px;
    border-radius: 18px;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-6px);
}

.timeline-content span {
    display: block;
    margin: 8px 0 15px;
    font-size: 0.9rem;
    opacity: 0.75;
}

.timeline-content ul {
    margin-top: 15px;
    padding-left: 18px;
}

.skills-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 22px;
}

.skill-card {
    position: relative;
    padding: 30px 20px;
    text-align: center;
    font-weight: 600;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    cursor: default;
    transition: transform 0.4s ease;
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #00c6ff, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skill-card:hover::before {
    opacity: 0.35;
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.05);
}

.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-box {
    max-width: 700px;
    text-align: center;
    padding: 60px 40px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    box-shadow: 0 0 40px rgba(0, 198, 255, 0.15);
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-box p {
    opacity: 0.85;
    margin-bottom: 35px;
}

.contact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-btn {
    padding: 14px 34px;
    border-radius: 40px;
    text-decoration: none;
    color: #00c6ff;
    border: 1px solid #00c6ff;
    transition: all 0.4s ease;
}

.contact-btn.primary {
    background: #00c6ff;
    color: #000;
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 198, 255, 0.35);
}

.contact-section {
    background: #80808003;
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 25px;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 25px;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        padding: 20px;
        border-radius: 12px;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 75px 20px;
    }

    .timeline-item {
        padding-left: 20px;
    }

    .timeline {
        margin-left: 4px;
    }

    .section-title {
        margin-bottom: 20px;
    }
}


#offline-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #dc2626;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    z-index: 9999;
}
