:root {
    --primary-color: #00e5ff;
    --secondary-color: #0077ff;
    --bg-darker: #0a0e17;
    --bg-dark: #111827;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(255, 255, 255, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-darker);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: padding 0.3s ease, background 0.3s ease;
    border-bottom: 1px solid transparent;
}

#navbar.scrolled {
    padding: 5px 0;
    background: rgba(10, 14, 23, 0.95);
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 75px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-links a.active {
    color: var(--primary-color) !important;
    opacity: 1 !important;
}

/* Hero Section */
#priyank {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    width: 100%;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 10px;
}

.highlight {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text h2 {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

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

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-darker);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(0, 229, 255, 0.1);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-color);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Sections Common */
.section {
    padding: 100px 0;
}

.bg-dark {
    background-color: var(--bg-dark);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    margin: 0 auto 40px;
    display: block;
    width: fit-content;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.text-center {
    text-align: center;
}

/* About */
.about-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.8;
    color: var(--text-muted);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 10px;
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 15px 10px;
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    background: rgba(0, 229, 255, 0.05);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.info-item a:hover {
    color: var(--primary-color);
}

/* Timeline / Experience */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: var(--border-color);
}

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

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 10px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.company {
    color: var(--primary-color);
    font-size: 1rem;
}

.date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content ul {
    padding-left: 20px;
    color: var(--text-muted);
}

.timeline-content li {
    margin-bottom: 8px;
}

/* Skills */
.skills-intro {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 760px;
    margin: -15px auto 38px;
    text-align: center;
}

.skills-matrix {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.skill-domain {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    min-height: 255px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.skill-domain:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.45);
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.075), rgba(255, 255, 255, 0.02));
}

.skill-domain--primary {
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 35px rgba(0, 0, 0, 0.18);
}

.skill-domain-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.skill-domain-heading i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.18);
    color: var(--primary-color);
    font-size: 1.25rem;
    flex: 0 0 auto;
}

.skill-domain-heading span {
    display: block;
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.skill-domain-heading h3 {
    font-size: 1.2rem;
    line-height: 1.25;
}

.skill-domain p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.skill-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.skill-stack span {
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
    color: var(--text-main);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    padding: 8px 10px;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}

.projects-intro {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 720px;
    margin: -15px auto 35px;
    text-align: center;
}

.project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    min-height: 365px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 229, 255, 0.2);
}

.project-card:hover::before {
    opacity: 1;
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

.project-badge--platform {
    background: rgba(0, 229, 255, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.project-badge--automation {
    background: rgba(255, 165, 0, 0.12);
    color: #ffa500;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.project-badge--delivery {
    background: rgba(74, 163, 255, 0.14);
    color: #4aa3ff;
    border: 1px solid rgba(74, 163, 255, 0.35);
}

.project-badge--orchestration {
    background: rgba(0, 210, 180, 0.13);
    color: #2dd4bf;
    border: 1px solid rgba(45, 212, 191, 0.32);
}

.project-badge--reliability {
    background: rgba(120, 200, 120, 0.12);
    color: #78c878;
    border: 1px solid rgba(120, 200, 120, 0.3);
}

.project-badge--security {
    background: rgba(180, 130, 255, 0.12);
    color: #b482ff;
    border: 1px solid rgba(180, 130, 255, 0.3);
}

.project-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    padding: 30px 30px 15px;
    position: relative;
    z-index: 1;
}

.project-content {
    padding: 0 30px 30px;
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
    min-height: 58px;
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
    flex: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-end;
    align-content: flex-end;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.project-tags::before {
    content: 'Stack';
    flex-basis: 100%;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.project-tags span {
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-main);
    padding: 7px 9px;
    border-radius: 4px;
    font-size: 0.74rem;
    font-weight: 600;
    border: 1px solid rgba(0, 229, 255, 0.16);
    line-height: 1.1;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

/* Certifications */
.cert-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.cert-badge {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    gap: 20px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cert-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cert-badge--aws:hover {
    border-color: #ff9900;
    box-shadow: 0 10px 20px rgba(255, 153, 0, 0.1);
}

.cert-badge--google:hover {
    border-color: #4285F4;
    box-shadow: 0 10px 20px rgba(66, 133, 244, 0.1);
}

.cert-badge--cisco:hover {
    border-color: #00bceb;
    box-shadow: 0 10px 20px rgba(0, 188, 235, 0.1);
}

.cert-badge-logo {
    font-size: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
}

.cert-badge--aws .cert-badge-logo {
    color: #ff9900;
}

.cert-badge--google .cert-badge-logo {
    color: #4285F4;
}

.cert-badge--cisco .cert-badge-logo {
    color: #00bceb;
}

.cert-badge-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cert-badge-issuer {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.cert-badge-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.3;
}

.cert-badge-verify {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.cert-badge:hover .cert-badge-verify {
    color: var(--secondary-color);
}

#contact.section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0;
}

.contact-subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-width: 200px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-card span {
    font-weight: 500;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .skills-matrix {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #navbar {
        background: rgba(10, 14, 23, 0.96);
    }

    .nav-content {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .logo {
        justify-content: center;
    }

    .logo img {
        height: 58px;
    }

    .nav-links {
        display: flex;
        gap: 18px;
        overflow-x: auto;
        padding: 0 0 12px;
        scrollbar-width: none;
        white-space: nowrap;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .hero-text h1 {
        font-size: 2.7rem;
    }

    .profile-img {
        width: 300px;
        height: 300px;
    }

    .section {
        padding: 60px 0;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .profile-img {
        width: 240px;
        height: 240px;
    }

    .about-content,
    .timeline-content,
    .skill-domain,
    .project-content,
    .cert-badge {
        padding: 22px;
    }

    .project-icon {
        padding: 26px 22px 12px;
    }

    .stat-number {
        font-size: 1.9rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }
}
