/* =====================================================
   ASHWINI TANDALE PORTFOLIO
   Modern Professional Developer Portfolio
===================================================== */

:root {
    --bg: #070b14;
    --bg-soft: #0c1220;
    --card: rgba(18, 26, 43, 0.72);
    --card-solid: #111a2b;
    --text: #f4f7fb;
    --muted: #9ca9bc;
    --border: rgba(255, 255, 255, 0.09);

    --primary: #6c63ff;
    --secondary: #00d4ff;

    --gradient: linear-gradient(
        135deg,
        #6c63ff,
        #00d4ff
    );
body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

    --shadow:
        0 25px 70px rgba(0, 0, 0, 0.35);

    --radius: 22px;

    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

body.light {
    --bg-soft: #ffffff;
    --card: rgba(255, 255, 255, 0.85);
    --card-solid: #ffffff;
    --text: #101522;
    --muted: #5d6879;
    --border: rgba(20, 30, 50, 0.1);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(92%, var(--container));
    margin: auto;
}

.section {
    padding: 120px 0;
}

.section-dark {
    background: var(--bg-soft);
}


/* ================= PRELOADER ================= */

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: var(--bg);
    transition: 0.5s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    font-family: "Space Grotesk", sans-serif;
    font-size: 40px;
    font-weight: 700;
    display: flex;
    gap: 5px;
}

.loader span:nth-child(1) {
    color: var(--primary);
}

.loader span:nth-child(2) {
    color: var(--secondary);
}

.loader span:nth-child(3) {
    color: var(--primary);
}


/* ================= NAVBAR ================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(7, 11, 20, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: "Space Grotesk", sans-serif;
    font-size: 25px;
    font-weight: 700;
}

.logo span {
    color: var(--secondary);
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    position: relative;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link.active::after {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn,
.menu-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    color: var(--text);
    display: grid;
    place-items: center;
}

.menu-btn {
    display: none;
}


/* ================= HERO ================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary);
    opacity: 0.08;
    filter: blur(150px);
    border-radius: 50%;
    top: 5%;
    right: -10%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 25px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #39e58c;
    box-shadow: 0 0 15px #39e58c;
}

.hero-greeting {
    color: var(--secondary);
    font-size: 20px;
    font-weight: 600;
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(50px, 7vw, 88px);
    line-height: 1;
    margin: 8px 0 18px;
    letter-spacing: -3px;
}

.hero h1 span,
.section-heading h2 span,
.contact-content h2 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    color: transparent;
}

.hero h2 {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--muted);
    font-weight: 500;
}

.hero h2 span {
    color: var(--secondary);
}

.typing-line {
    margin-top: 25px;
    font-size: 18px;
    color: var(--muted);
}

#typingText {
    color: var(--secondary);
    font-weight: 700;
}

.hero-description {
    max-width: 650px;
    margin-top: 15px;
    color: var(--muted);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 21px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 12px 30px rgba(108, 99, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(108, 99, 255, 0.35);
}

.btn-outline {
    border: 1px solid var(--border);
    background: var(--card);
}

.btn-outline:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.social-links a,
.footer-socials a {
    width: 43px;
    height: 43px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--muted);
    transition: 0.3s ease;
}

.social-links a:hover,
.footer-socials a:hover {
    color: white;
    background: var(--gradient);
    transform: translateY(-4px);
}


/* ================= HERO IMAGE ================= */

.hero-visual {
    position: relative;
    min-height: 580px;
    display: grid;
    place-items: center;
}

.profile-wrapper {
    position: relative;
    width: min(430px, 80vw);
    aspect-ratio: 0.82;
}

.profile-glow {
    position: absolute;
    inset: 12%;
    background: var(--gradient);
    filter: blur(60px);
    opacity: 0.28;
}

.profile-card {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    padding: 10px;
}

.profile-top {
    position: absolute;
    top: 17px;
    left: 20px;
    display: flex;
    gap: 7px;
    z-index: 2;
}

.profile-top span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 22px;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(15, 22, 38, 0.82);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow);
    font-size: 13px;
    font-weight: 600;
    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    color: var(--secondary);
}

.card-java {
    top: 20%;
    left: -10%;
}

.card-python {
    right: -7%;
    top: 45%;
    animation-delay: 1s;
}

.card-code {
    bottom: 15%;
    left: -5%;
    animation-delay: 2s;
}

.code-decoration {
    position: absolute;
    color: var(--muted);
    font-family: monospace;
    opacity: 0.35;
}

.code-one {
    top: 5%;
    right: 2%;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: 11px;
}

.scroll-indicator i {
    color: var(--secondary);
    animation: bounce 1.5s infinite;
}


/* ================= SECTION HEADINGS ================= */

.section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.section-tag {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(36px, 5vw, 55px);
    line-height: 1.1;
    margin-bottom: 18px;
}

.about-intro {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.2;
    margin: 0 0 18px;
}

.about-intro span {
    color: var(--secondary);
}

.about-subtitle {
    margin-top: 8px;
    font-size: clamp(0.95rem, 1.6vw, 1.2rem);
    line-height: 1.5;
    color: var(--muted);
    font-family: "Georgia", "Times New Roman", serif;
    font-style: italic;
    letter-spacing: 0.02em;
}

.about-name {
    color: var(--text);
    font-weight: 800;
    font-style: normal;
    font-family: "Space Grotesk", sans-serif;
}

.section-heading p:last-child {
    color: var(--muted);
}


/* ================= ABOUT ================= */

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 70px;
    align-items: center;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 12px;
    line-height: 1.7;
}

.about-text strong {
    color: var(--text);
}

.about-highlights {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.about-highlights div {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    font-size: 12px;
}

.about-highlights i {
    color: var(--secondary);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-card {
    padding: 30px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    text-align: center;
}

.stat-card strong {
    display: block;
    font-family: "Space Grotesk";
    font-size: 38px;
    background: var(--gradient);
    -webkit-background-clip: text;
    color: transparent;
}

.stat-card span {
    color: var(--muted);
    font-size: 13px;
}


/* ================= SKILLS ================= */

.skills-showcase {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 42px;
    align-items: start;
    margin-top: 30px;
    position: relative;
}

.skills-progress-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.skill-row {
    display: grid;
    grid-template-columns: minmax(150px, 230px) minmax(180px, 1fr) 48px;
    align-items: center;
    gap: 16px;
}

.skill-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.02rem;
    font-weight: 500;
}

.skill-meter {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.skill-meter span {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #4b47ff 0%, #7d7cf9 20%, #32d9d1 100%);
    box-shadow: 0 0 15px rgba(71, 214, 255, 0.35);
}

.skill-percent {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.9rem;
    text-align: right;
}

.skills-meta-panel {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding-top: 10px;
}

.meta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

.meta-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffd75d, #ffbf2d);
    box-shadow: 0 0 12px rgba(255, 194, 60, 0.85);
    display: inline-block;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
}

.soft-skills .success {
    background: rgba(28, 185, 144, 0.1);
    border-color: rgba(43, 212, 162, 0.35);
    color: #6fe7d6;
}

.tag-list .active {
    background: rgba(126, 93, 255, 0.12);
    border-color: rgba(143, 101, 255, 0.42);
    color: #d8c8ff;
}

.tag-list .presentation {
    background: rgba(56, 178, 212, 0.08);
    border-color: rgba(56, 178, 212, 0.35);
    color: #8ad9ff;
}

@media (max-width: 900px) {
    .skills-showcase {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .skill-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .skill-percent {
        text-align: left;
    }
}


/* ================= PROJECTS ================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    overflow: hidden;
    transition: 0.35s ease;
}

.project-card::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--primary);
    opacity: 0;
    filter: blur(70px);
    right: -50px;
    top: -50px;
    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.35);
}

.project-card:hover::before {
    opacity: 0.25;
}

.project-image-wrap {
    position: relative;
    overflow: hidden;
    background: #0b1220;
}

.project-image {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.project-card:hover .project-image {
    transform: scale(1.04);
}

.project-number {
    position: absolute;
    right: 18px;
    top: 15px;
    font-family: "Space Grotesk";
    font-size: 34px;
    color: rgba(255,255,255,0.12);
    font-weight: 700;
}

.project-body {
    padding: 26px 20px 20px;
}

.project-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--gradient);
    color: white;
    margin-bottom: 18px;
}

.project-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.project-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tech-tags span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(108, 99, 255, 0.12);
    border: 1px solid rgba(108, 99, 255, 0.15);
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
}

.project-actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.25s ease;
}

.action-btn.primary {
    background: var(--gradient);
    color: #07111d;
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.projects-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 18px 24px;
    background: rgba(15, 22, 35, 0.9);
    border: 1px solid rgba(158, 123, 255, 0.5);
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.banner-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f5d76e;
    color: #121826;
    font-size: 14px;
    flex-shrink: 0;
}

.projects-banner p {
    margin: 0;
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
}

.projects-banner a {
    color: var(--secondary);
    font-weight: 600;
}


/* ================= EXPERIENCE ================= */

.timeline {
    position: relative;
    max-width: 900px;
    margin: auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-left: 55px;
    margin-bottom: 45px;
}

.timeline-dot {
    position: absolute;
    left: 7px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient);
    box-shadow: 0 0 20px rgba(0,212,255,0.4);
}

.timeline-date {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-card {
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}

.experience-type {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
}

.timeline-card h3 {
    margin: 6px 0;
}

.timeline-card h4 {
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 12px;
}

.timeline-card p {
    color: var(--muted);
    font-size: 14px;
}

.timeline-card .certificate-view-btn {
    margin-top: 18px;
    border: none;
    border-radius: 10px;
    background: var(--gradient);
    color: #07111d;
    font-weight: 700;
    padding: 10px 16px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.25s ease;
}

.timeline-card .certificate-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.certificate-modal {
    position: fixed;
    inset: 0;
    background: rgba(3, 6, 12, 0.82);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
}

.certificate-modal.show {
    display: flex;
}

.certificate-modal-content {
    position: relative;
    max-width: min(90vw, 820px);
    width: 100%;
    background: #0d1320;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.certificate-modal-close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
}

.certificate-modal-content img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}


/* ================= EDUCATION ================= */

.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.education-card {
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    transition: 0.3s ease;
}

.education-card:hover {
    transform: translateY(-6px);
}

.education-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--gradient);
    color: white;
    margin-bottom: 20px;
}

.education-year {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
}

.education-card h3 {
    font-size: 21px;
    margin: 12px 0;
}

.education-image {
    width: 100%;
    height: 210px;
    margin: 18px 0 18px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
}

.education-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.education-card p {
    color: var(--muted);
    font-size: 14px;
}

.education-card .college {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 8px;
}

.education-status {
    display: inline-block;
    margin-top: 20px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(0,212,255,0.08);
    color: var(--secondary);
    font-size: 11px;
}

.education-actions {
    margin-top: 20px;
}

.education-cert-btn {
    border: none;
    border-radius: 10px;
    background: var(--gradient);
    color: #07111d;
    font-weight: 700;
    padding: 10px 16px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.25s ease;
}

.education-cert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}


/* ================= CERTIFICATES SECTION ================= */

.certificates-section {
    background: rgba(11, 17, 28, 0.9);
}

.certificates-subtitle {
    margin: 18px 0 30px;
    color: var(--muted);
    font-size: 18px;
}

.cert-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

.cert-filter-btn {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.25s ease;
}

.cert-filter-btn:hover,
.cert-filter-btn.active {
    background: var(--gradient);
    color: #07111d;
    border-color: transparent;
    transform: translateY(-2px);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 24px;
}

.cert-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 26px 22px 22px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(18, 26, 43, 0.72);
    transition: 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
    border-color: rgba(0, 212, 255, 0.28);
}

.cert-card.hidden {
    display: none;
}

.cert-badge {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(108, 99, 255, 0.16);
    color: var(--secondary);
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
}

.cert-card h3 {
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 14px;
}

.cert-meta {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 2px;
}

.cert-meta span {
    color: var(--text);
    font-weight: 600;
}

.cert-btn {
    margin-top: auto;
    width: 100%;
    border: none;
    border-radius: 12px;
    background: var(--gradient);
    color: #07111d;
    font-weight: 700;
    padding: 12px 16px;
    transition: 0.25s ease;
    margin-top: 18px;
}

.cert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(108, 99, 255, 0.22);
}


/* ================= CERTIFICATIONS ================= */

.certifications-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.certificate-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    transition: 0.3s ease;
}

.certificate-card:hover {
    transform: translateX(6px);
    border-color: rgba(0,212,255,0.3);
}

.certificate-card > i {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(108,99,255,0.12);
    color: var(--secondary);
}

.certificate-card h3 {
    font-size: 14px;
}

.certificate-card p {
    color: var(--muted);
    font-size: 12px;
}


/* ================= ACHIEVEMENTS ================= */

.achievement-list {
    max-width: 900px;
    margin: auto;
    display: grid;
    gap: 15px;
}

.achievement {
    display: flex;
    gap: 20px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}

.achievement-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--gradient);
    color: white;
}

.achievement h3 {
    font-size: 17px;
    margin-bottom: 5px;
}

.achievement p {
    color: var(--muted);
    font-size: 13px;
}


/* ================= CONTACT ================= */

.contact-section {
    padding-bottom: 130px;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    padding: 52px;
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(12, 25, 43, 0.9), rgba(7, 12, 26, 0.96));
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.contact-box::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(120px);
    opacity: 0.15;
    right: -100px;
    bottom: -100px;
}

.contact-content h2 {
    font-family: "Space Grotesk";
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.1;
    margin-bottom: 16px;
    max-width: 620px;
}

.contact-content {
    display: flex;
    flex-direction: column;
}

.contact-content h2 span {
    display: block;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-intro {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 0;
}

.contact-animation {
    position: relative;
    width: 145px;
    height: 52px;
    margin: -2px 0 12px auto;
    color: var(--secondary);
}

.contact-animation i {
    position: absolute;
    left: 102px;
    top: 5px;
    font-size: 30px;
    transform: rotate(-18deg);
    animation: contact-fly 2.8s ease-in-out infinite;
}

.contact-trail {
    position: absolute;
    width: 92px;
    height: 30px;
    left: 15px;
    top: 12px;
    border-top: 2px dashed var(--secondary);
    border-radius: 50%;
    transform: rotate(-12deg);
    animation: contact-orbit 2.8s ease-in-out infinite;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    order: 3;
    margin-top: 14px;
    position: relative;
    z-index: 1;
}

.contact-links a {
    min-height: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border: 1px solid rgba(0, 212, 255, 0.32);
    border-radius: 10px;
    background: rgba(10, 24, 43, 0.76);
    color: var(--muted);
    font-size: 11px;
    transition: 0.3s ease;
}

.contact-links a:hover {
    color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.contact-link-icon {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--secondary);
    border-radius: 50%;
    color: var(--secondary);
    font-size: 12px;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
}

.contact-link-copy {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.contact-link-copy strong {
    color: var(--text);
    font-size: 12px;
}

.contact-link-copy small {
    display: none;
}

.contact-link-copy em {
    color: var(--secondary);
    font-style: normal;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    margin-top: 2px;
}

.contact-link-arrow {
    margin-top: auto;
    margin-left: auto;
    color: var(--muted);
    font-size: 10px;
}

.contact-availability {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
    order: 2;
    padding: 16px 18px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    background: rgba(0, 212, 255, 0.05);
}

.contact-availability > i {
    color: #00f5a0;
    font-size: 24px;
}

.contact-availability div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.contact-availability strong {
    color: var(--secondary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-availability span {
    color: var(--muted);
    font-size: 12px;
}

.contact-availability b {
    margin-left: auto;
    white-space: nowrap;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
}

.contact-availability b i {
    color: #00d447;
    font-size: 9px;
    margin-right: 5px;
}

.contact-form {
    position: relative;
    z-index: 1;
    padding: 30px;
    border: 1px solid rgba(0, 212, 255, 0.36);
    border-radius: 20px;
    background: rgba(7, 17, 32, 0.72);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.contact-form-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 27px;
}

.contact-form-heading > i {
    color: var(--secondary);
    font-size: 32px;
}

.contact-form-heading h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
    line-height: 1.2;
}

.contact-form-heading p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    outline: none;
    border-radius: 11px;
    background: rgba(17, 31, 53, 0.65);
    color: var(--text);
    padding: 13px 15px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}


/* ================= FOOTER ================= */

footer {
    position: relative;
    border-top: 1px solid var(--border);
    min-height: 50vh;
    padding: 58px 0 22px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(8, 14, 28, 0.7), rgba(7, 11, 20, 0.98));
}

footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 30%;
    width: 40%;
    height: 2px;
    background: var(--gradient);
    box-shadow: 0 0 22px var(--secondary);
    animation: footer-glow 3.5s ease-in-out infinite;
}

footer::after {
    content: "✦";
    position: absolute;
    top: 20px;
    right: 7%;
    color: var(--secondary);
    font-size: 16px;
    animation: footer-spark 2.5s ease-in-out infinite;
}

.footer-scene {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.footer-scene::before {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 31%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), var(--primary), transparent);
    opacity: 0.45;
    transform: rotate(-2deg);
    animation: footer-path 4s ease-in-out infinite;
}

.footer-scene::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 180px;
    left: 50%;
    bottom: -100px;
    transform: translateX(-50%);
    background: var(--primary);
    filter: blur(90px);
    opacity: 0.22;
}

.footer-scene p {
    position: absolute;
    left: 50%;
    bottom: 34%;
    transform: translateX(-50%) rotate(-3deg);
    color: var(--muted);
    font-family: "Georgia", serif;
    font-size: 13px;
    font-style: italic;
    white-space: nowrap;
}

.footer-scene p span {
    color: var(--secondary);
    font-size: 20px;
}

.footer-plane {
    position: absolute;
    left: 72%;
    bottom: 34%;
    color: var(--secondary);
    font-size: 28px;
    transform: rotate(-18deg);
    filter: drop-shadow(0 0 9px var(--secondary));
    animation: footer-plane-fly 4s ease-in-out infinite;
}

.footer-orbit {
    position: absolute;
    width: 34px;
    height: 34px;
    left: 25%;
    bottom: 30%;
    border: 1px solid var(--secondary);
    border-radius: 50%;
    opacity: 0.65;
    animation: footer-orbit 3s ease-in-out infinite;
}

.footer-star {
    position: absolute;
    color: var(--secondary);
    animation: footer-spark 2.5s ease-in-out infinite;
}

.footer-star-one {
    top: 18%;
    left: 8%;
    font-size: 15px;
}

.footer-star-two {
    top: 23%;
    right: 18%;
    color: var(--primary);
    font-size: 11px;
    animation-delay: 0.8s;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr auto;
    align-items: start;
    gap: 24px;
    min-height: 150px;
    position: relative;
    z-index: 1;
}

.footer-content p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 6px;
}

.footer-brand small {
    display: block;
    max-width: 180px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    margin-top: 4px;
}

.footer-column {
    display: grid;
    gap: 4px;
}

.footer-column h3 {
    color: var(--text);
    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
    margin-bottom: 5px;
}

.footer-column h3 > i {
    color: var(--secondary);
    margin-right: 5px;
}

.footer-column a,
.footer-column span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    transition: 0.25s ease;
}

.footer-column a:hover {
    color: var(--secondary);
    transform: translateX(3px);
}

.footer-column a > i:first-child,
.footer-column span > i {
    width: 14px;
    color: var(--secondary);
    text-align: center;
}

.footer-column a .fa-chevron-right {
    margin-left: auto;
    font-size: 8px;
}

.footer-open span > i {
    color: #00f5a0;
}

.footer-socials {
    display: flex;
    gap: 7px;
    padding-top: 1px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 12px;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    margin-top: 25px;
    padding: 11px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

.footer-location {
    color: var(--secondary);
    margin-bottom: 4px;
}

.footer-copyright {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.18);
}

.footer-heart {
    display: inline-block;
    color: #ff3b6b;
    font-size: 15px;
    animation: footer-heartbeat 1.5s ease-in-out infinite;
}

@keyframes footer-glow {
    0%, 100% {
        opacity: 0.4;
        transform: translateX(-18%);
    }

    50% {
        opacity: 1;
        transform: translateX(18%);
    }
}

@keyframes footer-spark {
    0%, 100% {
        opacity: 0.35;
        transform: translateY(0) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: translateY(8px) rotate(45deg);
    }
}

@keyframes footer-heartbeat {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@keyframes footer-plane-fly {
    0%, 100% {
        transform: translate(0, 5px) rotate(-18deg);
    }

    50% {
        transform: translate(-38px, -18px) rotate(-8deg);
    }
}

@keyframes footer-path {
    0%, 100% {
        opacity: 0.25;
        transform: rotate(-2deg) scaleX(0.88);
    }

    50% {
        opacity: 0.7;
        transform: rotate(1deg) scaleX(1);
    }
}

@keyframes footer-orbit {
    0%, 100% {
        transform: translateY(0) scale(0.8);
        opacity: 0.35;
    }

    50% {
        transform: translateY(-12px) scale(1.1);
        opacity: 0.9;
    }
}


/* ================= BACK TO TOP ================= */

#backToTop {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 13px;
    background: var(--gradient);
    color: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.3s ease;
    z-index: 900;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ================= ANIMATIONS ================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}

@keyframes contact-fly {
    0%, 100% {
        transform: translate(0, 3px) rotate(-18deg);
    }

    50% {
        transform: translate(-18px, -7px) rotate(-10deg);
    }
}

@keyframes contact-orbit {
    0%, 100% {
        opacity: 0.3;
        transform: rotate(-12deg) scale(0.85);
    }

    50% {
        opacity: 0.85;
        transform: rotate(-12deg) scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-animation i,
    .contact-trail,
    footer::before,
    footer::after,
    .footer-plane,
    .footer-orbit,
    .footer-star,
    .footer-scene::before {
        animation: none;
    }
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1050px) {

    nav {
        gap: 18px;
    }

    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 800px) {

    .section {
        padding: 85px 0;
    }

    .menu-btn {
        display: grid;
    }

    nav {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 280px;
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
        background: var(--card-solid);
        border: 1px solid var(--border);
        border-radius: 18px;
        transition: 0.35s ease;
    }

    nav.open {
        right: 4%;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        max-width: 600px;
    }

    .hero-visual {
        min-height: 480px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .education-grid,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 35px 25px;
    }

    .contact-links {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 560px) {

    .contact-links {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 22px 18px;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero h2 {
        font-size: 16px;
    }

    .skills-grid,
    .projects-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .floating-card {
        display: none;
    }

    .hero-visual {
        min-height: 400px;
    }

    .profile-wrapper {
        width: 290px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        gap: 15px 24px;
        min-height: 0;
    }

    .footer-brand,
    .footer-socials {
        grid-column: 1 / -1;
    }

    .footer-brand small {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-column a,
    .footer-column span {
        justify-content: center;
    }

    .footer-column a .fa-chevron-right {
        display: none;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-location {
        float: none;
        display: block;
        margin-bottom: 3px;
    }

    .scroll-indicator {
        display: none;
    }

}