/* =========================================
   AKANKSHA GADKAR PORTFOLIO
   ========================================= */


/* ================= VARIABLES ================= */

:root {

    --bg: #08090d;
    --bg-secondary: #0e1017;
    --card: #11131b;
    --card-hover: #161925;

    --text: #f5f7fa;
    --text-secondary: #a6adbb;
    --text-muted: #6f7787;

    --primary: #8b5cf6;
    --primary-light: #a78bfa;

    --border: rgba(255,255,255,0.09);

    --gradient:
        linear-gradient(
            135deg,
            #8b5cf6,
            #6366f1
        );

    --shadow:
        0 20px 60px rgba(0,0,0,0.35);

    --transition: 0.3s ease;

    --radius: 18px;
}


/* LIGHT MODE */

body.light-mode {

    --bg: #f7f7fb;
    --bg-secondary: #ffffff;
    --card: #ffffff;
    --card-hover: #f0eff8;

    --text: #11131a;
    --text-secondary: #555b68;
    --text-muted: #777d89;

    --border: rgba(0,0,0,0.08);

    --shadow:
        0 20px 50px rgba(0,0,0,0.08);
}


/* ================= RESET ================= */

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


html {
    scroll-behavior: smooth;
}


body {

    font-family: "Inter", sans-serif;

    background: var(--bg);

    color: var(--text);

    line-height: 1.7;

    overflow-x: hidden;

    transition:
        background var(--transition),
        color var(--transition);
}


a {
    text-decoration: none;
    color: inherit;
}


button,
input,
textarea {
    font-family: inherit;
}


button {
    cursor: pointer;
}


img {
    max-width: 100%;
    display: block;
}


.container {

    width: min(1150px, 90%);

    margin: auto;
}


.section {

    padding: 110px 0;

}


/* ================= NAVBAR ================= */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background:
        rgba(8,9,13,0.75);

    backdrop-filter: blur(20px);

    border-bottom:
        1px solid var(--border);
}


.light-mode .header {
    background:
        rgba(255,255,255,0.8);
}


.navbar {

    height: 75px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.logo {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 28px;

    font-weight: 700;

    letter-spacing: -1px;

}


.logo span {
    color: var(--primary);
}


.nav-menu {

    display: flex;

    align-items: center;

    gap: 32px;
}


.nav-link {

    color: var(--text-secondary);

    font-size: 14px;

    font-weight: 500;

    transition: var(--transition);

    position: relative;
}


.nav-link:hover,
.nav-link.active {

    color: var(--text);
}


.nav-link.active::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 100%;

    height: 2px;

    background: var(--primary);

}


.nav-actions {

    display: flex;

    align-items: center;

    gap: 15px;
}


.theme-toggle,
.menu-toggle {

    width: 40px;
    height: 40px;

    border: 1px solid var(--border);

    background: var(--card);

    color: var(--text);

    border-radius: 10px;

    display: grid;
    place-items: center;

    transition: var(--transition);
}


.theme-toggle:hover,
.menu-toggle:hover {

    border-color: var(--primary);

    color: var(--primary);
}


.nav-button {

    background: var(--gradient);

    padding: 9px 18px;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 600;
}


.menu-toggle {

    display: none;
}


/* ================= HERO ================= */

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

    padding-top: 120px;
}


.hero-bg span {

    position: absolute;

    border-radius: 50%;

    filter: blur(100px);

    opacity: 0.18;

    pointer-events: none;
}


.hero-bg span:nth-child(1) {

    width: 400px;
    height: 400px;

    background: #8b5cf6;

    top: -150px;
    right: -100px;
}


.hero-bg span:nth-child(2) {

    width: 300px;
    height: 300px;

    background: #2563eb;

    bottom: -100px;
    left: -100px;
}


.hero-bg span:nth-child(3) {

    width: 180px;
    height: 180px;

    background: #ec4899;

    top: 40%;
    left: 45%;
}


.hero-container {

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    gap: 70px;

    align-items: center;
}


.availability {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 7px 13px;

    border:
        1px solid
        rgba(139,92,246,0.25);

    background:
        rgba(139,92,246,0.07);

    border-radius: 30px;

    color: var(--text-secondary);

    font-size: 12px;

    margin-bottom: 25px;
}


.status-dot {

    width: 8px;
    height: 8px;

    background: #22c55e;

    border-radius: 50%;

    box-shadow:
        0 0 10px #22c55e;
}


.hero-intro {

    color: var(--primary-light);

    font-size: 18px;

    font-weight: 500;

    margin-bottom: 3px;
}


.hero h1 {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(55px, 7vw, 88px);

    line-height: 1;

    letter-spacing: -4px;

    margin-bottom: 18px;
}


.hero h1 span {

    display: block;

    background:
        linear-gradient(
            90deg,
            #a78bfa,
            #6366f1,
            #ec4899
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}


.hero h2 {

    font-size: 25px;

    color: var(--text-secondary);

    font-weight: 500;

    margin-bottom: 22px;
}


.hero h2 span {

    color: var(--text);

    border-right:
        2px solid
        var(--primary);

    padding-right: 4px;
}


.hero-description {

    max-width: 580px;

    color: var(--text-secondary);

    font-size: 16px;

    margin-bottom: 32px;
}


.hero-buttons {

    display: flex;

    gap: 13px;

    flex-wrap: wrap;
}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 12px 21px;

    border-radius: 9px;

    font-size: 14px;

    font-weight: 600;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.btn:hover {

    transform: translateY(-3px);
}


.btn-primary {

    background: var(--gradient);

    color: white;

    box-shadow:
        0 10px 30px
        rgba(99,102,241,0.22);
}


.btn-primary:hover {

    box-shadow:
        0 15px 40px
        rgba(99,102,241,0.35);
}


.btn-outline {

    border:
        1px solid
        var(--border);

    background:
        rgba(255,255,255,0.02);

    color: var(--text);
}


.btn-outline:hover {

    border-color: var(--primary);

    color: var(--primary-light);
}


.social-links {

    display: flex;

    gap: 12px;

    margin-top: 30px;
}


.social-links a {

    width: 39px;
    height: 39px;

    display: grid;

    place-items: center;

    border:
        1px solid
        var(--border);

    border-radius: 10px;

    color: var(--text-secondary);

    transition: var(--transition);
}


.social-links a:hover {

    color: white;

    background: var(--primary);

    border-color: var(--primary);

    transform: translateY(-3px);
}


/* ================= CODE CARD ================= */

.hero-visual {

    position: relative;

    min-height: 450px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.code-card {

    width: 100%;

    max-width: 520px;

    background:
        rgba(17,19,27,0.9);

    border:
        1px solid
        var(--border);

    border-radius: 18px;

    box-shadow: var(--shadow);

    overflow: hidden;

    transform:
        perspective(1000px)
        rotateY(-4deg);

    transition: var(--transition);
}


.code-card:hover {

    transform:
        perspective(1000px)
        rotateY(0deg)
        translateY(-5px);
}


.window-bar {

    height: 48px;

    display: flex;

    align-items: center;

    padding: 0 17px;

    border-bottom:
        1px solid
        rgba(255,255,255,0.06);

}


.window-dots {

    display: flex;

    gap: 6px;
}


.window-dots span {

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #555;
}


.window-title {

    margin: auto;

    font-size: 11px;

    color: #777;
}


.code-content {

    padding: 32px 28px;

    font-family:
        "Courier New",
        monospace;

    font-size: 14px;

    line-height: 2.2;

    color: #d1d5db;
}


.code-content p {
    white-space: nowrap;
}


.indent {
    padding-left: 25px;
}


.code-purple {
    color: #c084fc;
}


.code-yellow {
    color: #facc15;
}


.code-green {
    color: #86efac;
}


.code-white {
    color: white;
}


.code-comment {

    color: #6b7280;

    margin-top: 18px;
}


.floating-card {

    position: absolute;

    padding: 10px 14px;

    display: flex;

    align-items: center;

    gap: 8px;

    border:
        1px solid
        var(--border);

    background:
        rgba(17,19,27,0.9);

    backdrop-filter: blur(15px);

    border-radius: 10px;

    font-size: 12px;

    box-shadow: var(--shadow);

    animation:
        float 4s ease-in-out infinite;
}


.floating-card i {

    color: var(--primary-light);

    font-size: 16px;
}


.card-one {

    top: 45px;
    right: -10px;
}


.card-two {

    bottom: 60px;
    left: -15px;

    animation-delay: 1.5s;
}


@keyframes float {

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

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


.scroll-down {

    position: absolute;

    bottom: 25px;

    left: 50%;

    transform:
        translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

    color: var(--text-muted);

    font-size: 10px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.scroll-down i {

    color: var(--primary);
}


/* ================= SECTION HEADINGS ================= */

.section-heading {

    margin-bottom: 55px;

    max-width: 700px;
}


.section-label {

    color: var(--primary-light);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 12px;
}


.section-heading h2 {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(35px, 5vw, 52px);

    line-height: 1.1;

    letter-spacing: -2px;
}


.section-heading h2 span {

    color: var(--primary-light);
}


/* ================= ABOUT ================= */

.about {

    background: var(--bg-secondary);
}


.about-grid {

    display: grid;

    grid-template-columns:
        0.85fr
        1.15fr;

    gap: 80px;

    align-items: center;
}


.profile-card {

    position: relative;

    max-width: 350px;

    margin: auto;

    padding: 15px;

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    background: var(--card);

    box-shadow: var(--shadow);
}


.profile-placeholder {

    height: 380px;

    border-radius: 14px;

    display: grid;

    place-items: center;

    background:
        linear-gradient(
            135deg,
            #17142b,
            #101522
        );

    color: var(--primary-light);

    font-size: 90px;
}


.profile-info {

    padding: 18px 8px 8px;
}


.profile-info h3 {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 20px;
}


.profile-info p {

    color: var(--text-muted);

    font-size: 13px;
}


.about-content > p {

    color: var(--text-secondary);

    margin-bottom: 18px;

    font-size: 15px;
}


.about-stats {

    display: flex;

    gap: 45px;

    margin-top: 35px;

    padding-top: 25px;

    border-top:
        1px solid
        var(--border);
}


.about-stats div {

    display: flex;

    flex-direction: column;
}


.about-stats strong {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 30px;

    color: var(--primary-light);
}


.about-stats span {

    color: var(--text-muted);

    font-size: 12px;
}


/* ================= SKILLS ================= */

.skills-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.skill-card {

    padding: 28px 22px;

    background: var(--card);

    border:
        1px solid
        var(--border);

    border-radius: var(--radius);

    transition: var(--transition);
}


.skill-card:hover {

    transform: translateY(-7px);

    border-color:
        rgba(139,92,246,0.4);

    background:
        var(--card-hover);

    box-shadow: var(--shadow);
}


.skill-icon {

    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background:
        rgba(139,92,246,0.1);

    color: var(--primary-light);

    font-size: 19px;

    margin-bottom: 20px;
}


.skill-card h3 {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 19px;

    margin-bottom: 8px;
}


.skill-card > p {

    color: var(--text-muted);

    font-size: 13px;

    margin-bottom: 20px;
}


.tech-list {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}


.tech-list span,
.project-tech span {

    padding: 4px 8px;

    border:
        1px solid
        var(--border);

    border-radius: 6px;

    color: var(--text-secondary);

    font-size: 10px;
}


/* ================= PROJECTS ================= */

.projects {

    background: var(--bg-secondary);
}


.project-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    max-width: none;
}


.heading-description {

    max-width: 360px;

    color: var(--text-muted);

    font-size: 13px;
}


.filter-buttons {

    display: flex;

    gap: 8px;

    margin-bottom: 30px;
}


.filter-btn {

    border:
        1px solid
        var(--border);

    background: transparent;

    color: var(--text-secondary);

    padding: 8px 15px;

    border-radius: 8px;

    font-size: 12px;

    transition: var(--transition);
}


.filter-btn:hover,
.filter-btn.active {

    background: var(--primary);

    color: white;

    border-color: var(--primary);
}


.projects-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px;
}


.project-card {

    background: var(--card);

    border:
        1px solid
        var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    transition: var(--transition);
}


.project-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow);
}


.project-image {

    height: 250px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: flex-start;

    justify-content: flex-end;

}


.project-one {

    background:
        linear-gradient(
            135deg,
            #19152e,
            #39205a
        );
}


.project-two {

    background:
        linear-gradient(
            135deg,
            #101c32,
            #183b57
        );
}


.project-three {

    background:
        linear-gradient(
            135deg,
            #291725,
            #57234a
        );
}


.project-four {

    background:
        linear-gradient(
            135deg,
            #13261f,
            #164c3c
        );
}


.project-number {

    padding: 15px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 12px;

    color: rgba(255,255,255,0.6);
}


.project-overlay {

    position: absolute;

    inset: 0;

    background:
        rgba(8,9,13,0.65);

    display: grid;

    place-items: center;

    opacity: 0;

    transition: var(--transition);
}


.project-overlay a {

    width: 50px;
    height: 50px;

    display: grid;

    place-items: center;

    background: var(--primary);

    border-radius: 50%;

    color: white;

    transform: scale(0.7);

    transition: var(--transition);
}


.project-card:hover .project-overlay {

    opacity: 1;
}


.project-card:hover .project-overlay a {

    transform: scale(1);
}


.project-content {

    padding: 25px;
}


.project-type {

    color: var(--primary-light);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 6px;
}


.project-content h3 {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 22px;

    margin-bottom: 8px;
}


.project-content > p:not(.project-type) {

    color: var(--text-muted);

    font-size: 13px;

    margin-bottom: 17px;
}


.project-tech {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 20px;
}


.project-links {

    display: flex;

    gap: 20px;

    padding-top: 15px;

    border-top:
        1px solid
        var(--border);
}


.project-links a {

    color: var(--text-secondary);

    font-size: 12px;

    display: flex;

    gap: 7px;

    align-items: center;

    transition: var(--transition);
}


.project-links a:hover {

    color: var(--primary-light);
}


/* ================= CERTIFICATIONS ================= */

.certification-grid {

    display: flex;

    flex-direction: column;

    gap: 13px;
}


.cert-card {

    display: grid;

    grid-template-columns:
        auto 1fr auto;

    gap: 20px;

    align-items: center;

    padding: 22px;

    background: var(--card);

    border:
        1px solid
        var(--border);

    border-radius: 14px;

    transition: var(--transition);
}


.cert-card:hover {

    border-color:
        rgba(139,92,246,0.35);

    transform:
        translateX(5px);
}


.cert-icon {

    width: 45px;
    height: 45px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background:
        rgba(139,92,246,0.1);

    color: var(--primary-light);
}


.cert-platform {

    color: var(--primary-light);

    text-transform: uppercase;

    letter-spacing: 1px;

    font-size: 9px;

    font-weight: 700;
}


.cert-card h3 {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 16px;
}


.cert-card span {

    color: var(--text-muted);

    font-size: 11px;
}


.cert-link {

    color: var(--text-secondary);

    font-size: 12px;

    display: flex;

    align-items: center;

    gap: 7px;
}


.cert-link:hover {

    color: var(--primary-light);
}


/* ================= EDUCATION ================= */

.education {

    background: var(--bg-secondary);
}


.timeline {

    position: relative;

    max-width: 800px;

    margin: auto;

    padding-left: 30px;

    border-left:
        1px solid
        rgba(139,92,246,0.3);
}


.timeline-item {

    position: relative;

    padding-left: 25px;

    margin-bottom: 20px;
}


.timeline-dot {

    position: absolute;

    left: -37px;

    top: 5px;

    width: 14px;
    height: 14px;

    background: var(--primary);

    border-radius: 50%;

    border:
        3px solid
        var(--bg-secondary);

    box-shadow:
        0 0 0 1px
        var(--primary);
}


.timeline-content {

    background: var(--card);

    border:
        1px solid
        var(--border);

    padding: 25px;

    border-radius: 14px;
}


.timeline-date {

    color: var(--primary-light);

    font-size: 11px;

    font-weight: 600;
}


.timeline-content h3 {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 20px;

    margin: 5px 0;
}


.timeline-content p {

    color: var(--text-muted);

    font-size: 13px;
}


/* ================= CONTACT ================= */

.contact {

    padding-bottom: 130px;
}


.contact-box {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    background: var(--card);

    border:
        1px solid
        var(--border);

    border-radius: 22px;

    padding: 55px;

    box-shadow: var(--shadow);
}


.contact-info h2 {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(35px, 5vw, 50px);

    line-height: 1.1;

    letter-spacing: -2px;

    margin-bottom: 20px;
}


.contact-info h2 span {

    color: var(--primary-light);
}


.contact-info > p:not(.section-label) {

    color: var(--text-muted);

    font-size: 14px;

    max-width: 450px;
}


.contact-details {

    display: flex;

    flex-direction: column;

    gap: 13px;

    margin-top: 30px;
}


.contact-details a {

    color: var(--text-secondary);

    font-size: 13px;

    display: flex;

    align-items: center;

    gap: 12px;

    transition: var(--transition);
}


.contact-details a:hover {

    color: var(--primary-light);
}


.contact-details i {

    width: 25px;

    color: var(--primary-light);
}


/* FORM */

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 18px;
}


.input-group {

    display: flex;

    flex-direction: column;

    gap: 7px;
}


.input-group label {

    color: var(--text-secondary);

    font-size: 11px;

    font-weight: 500;
}


.input-group input,
.input-group textarea {

    width: 100%;

    padding: 13px 15px;

    background:
        rgba(255,255,255,0.025);

    border:
        1px solid
        var(--border);

    border-radius: 9px;

    color: var(--text);

    outline: none;

    font-size: 13px;

    resize: vertical;

    transition: var(--transition);
}


.input-group input:focus,
.input-group textarea:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(139,92,246,0.08);
}


.input-group input::placeholder,
.input-group textarea::placeholder {

    color: var(--text-muted);
}


.submit-btn {

    border: none;

    width: fit-content;
}


.form-message {

    font-size: 12px;

    color: #86efac;
}


/* ================= FOOTER ================= */

.footer {

    border-top:
        1px solid
        var(--border);

    background: var(--bg-secondary);

    padding: 30px 0 15px;
}


.footer-content {

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.footer-content p {

    color: var(--text-muted);

    font-size: 12px;
}


.footer-content strong {

    color: var(--text-secondary);
}


.footer-socials {

    display: flex;

    gap: 10px;
}


.footer-socials a {

    color: var(--text-muted);

    font-size: 14px;

    transition: var(--transition);
}


.footer-socials a:hover {

    color: var(--primary-light);
}


.copyright {

    text-align: center;

    color: var(--text-muted);

    font-size: 10px;

    margin-top: 25px;
}


/* ================= BACK TO TOP ================= */

.back-to-top {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 42px;
    height: 42px;

    border: none;

    border-radius: 10px;

    background: var(--primary);

    color: white;

    display: grid;

    place-items: center;

    opacity: 0;

    visibility: hidden;

    transform: translateY(15px);

    transition: var(--transition);

    z-index: 999;
}


.back-to-top.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* ================= REVEAL ANIMATION ================= */

.reveal {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


.reveal.visible {

    opacity: 1;

    transform: translateY(0);
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {

    .nav-menu {

        gap: 18px;
    }


    .hero-container {

        grid-template-columns: 1fr;

    }


    .hero-content {

        text-align: center;

    }


    .availability {

        margin-left: auto;
        margin-right: auto;
    }


    .hero-description {

        margin-left: auto;
        margin-right: auto;
    }


    .hero-buttons,
    .social-links {

        justify-content: center;
    }


    .hero-visual {

        min-height: 400px;
    }


    .about-grid {

        grid-template-columns: 1fr;

        gap: 50px;
    }


    .skills-grid {

        grid-template-columns:
            repeat(2,1fr);
    }

}


@media (max-width: 768px) {

    .section {

        padding: 80px 0;
    }


    .nav-menu {

        position: fixed;

        top: 75px;

        left: 0;

        width: 100%;

        padding: 25px;

        background: var(--bg-secondary);

        border-bottom:
            1px solid
            var(--border);

        flex-direction: column;

        gap: 22px;

        transform:
            translateY(-120%);

        transition: var(--transition);
    }


    .nav-menu.open {

        transform:
            translateY(0);
    }


    .nav-button {

        display: none;
    }


    .menu-toggle {

        display: grid;
    }


    .hero {

        padding-top: 110px;
    }


    .hero h1 {

        letter-spacing: -3px;
    }


    .hero-visual {

        min-height: 350px;
    }


    .code-card {

        transform: none;
    }


    .card-one {

        right: 0;
    }


    .card-two {

        left: 0;
    }


    .project-heading {

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }


    .projects-grid {

        grid-template-columns: 1fr;
    }


    .contact-box {

        grid-template-columns: 1fr;

        padding: 35px 25px;

        gap: 45px;
    }


    .footer-content {

        flex-direction: column;

        gap: 15px;
    }

}


@media (max-width: 550px) {

    .container {

        width: 88%;
    }


    .skills-grid {

        grid-template-columns: 1fr;
    }


    .hero h1 {

        font-size: 55px;
    }


    .hero h2 {

        font-size: 20px;
    }


    .code-content {

        padding: 25px 17px;

        font-size: 11px;
    }


    .code-content p {

        white-space: normal;
    }


    .floating-card {

        font-size: 10px;
    }


    .about-stats {

        gap: 25px;
    }


    .cert-card {

        grid-template-columns:
            auto 1fr;

    }


    .cert-link {

        grid-column: 2;

        justify-self: start;
    }


    .project-image {

        height: 200px;
    }


    .contact-info h2 {

        font-size: 37px;
    }

}


/* ================= PROFILE IMAGE HOVER ================= */

.profile-image {
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: var(--card);
}

/* Image */
.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    transition:
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.6s ease;
}

/* Purple glow overlay */
.profile-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(139, 92, 246, 0.25),
            transparent 60%
        );

    opacity: 0;

    transition: opacity 0.5s ease;

    pointer-events: none;
}

/* Hover animation */
.profile-card:hover .profile-image img {
    transform: scale(1.08);
    filter: brightness(1.05) saturate(1.1);
}

.profile-card:hover .profile-image::after {
    opacity: 1;
}

.profile-card {
    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
}

.profile-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45),
        0 0 35px rgba(139, 92, 246, 0.15);
}


/* =========================================
   FLOATING HEARTS BEHIND PROFILE CARD
   ========================================= */

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Heart container */

.heart-background {
    position: absolute;

    inset: -80px -100px;

    overflow: hidden;

    pointer-events: none;

    z-index: 0;
}


/* Individual hearts */

.heart-background span {

    position: absolute;

    bottom: -60px;

    left: var(--left);

    font-size: var(--size);

    color: var(--heart-color);

    opacity: 0;

    filter:
        drop-shadow(
            0 0 8px
            rgba(139, 92, 246, 0.35)
        );

    animation:
        heartFloat var(--duration) linear infinite;

    animation-delay: var(--delay);

    transform:
        rotate(var(--rotation));
}


/* Different hearts */

.heart-background span:nth-child(1) {
    --left: 5%;
    --size: 18px;
    --duration: 6s;
    --delay: 0s;
    --rotation: -15deg;
    --heart-color: #a78bfa;
}

.heart-background span:nth-child(2) {
    --left: 15%;
    --size: 30px;
    --duration: 8s;
    --delay: 1s;
    --rotation: 20deg;
    --heart-color: #c084fc;
}

.heart-background span:nth-child(3) {
    --left: 25%;
    --size: 14px;
    --duration: 5s;
    --delay: 2.5s;
    --rotation: -25deg;
    --heart-color: #818cf8;
}

.heart-background span:nth-child(4) {
    --left: 35%;
    --size: 24px;
    --duration: 7s;
    --delay: 0.8s;
    --rotation: 15deg;
    --heart-color: #f0abfc;
}

.heart-background span:nth-child(5) {
    --left: 45%;
    --size: 12px;
    --duration: 5.5s;
    --delay: 3s;
    --rotation: -20deg;
    --heart-color: #a78bfa;
}

.heart-background span:nth-child(6) {
    --left: 55%;
    --size: 34px;
    --duration: 9s;
    --delay: 1.5s;
    --rotation: 25deg;
    --heart-color: #c084fc;
}

.heart-background span:nth-child(7) {
    --left: 65%;
    --size: 17px;
    --duration: 6.5s;
    --delay: 2s;
    --rotation: -10deg;
    --heart-color: #818cf8;
}

.heart-background span:nth-child(8) {
    --left: 73%;
    --size: 27px;
    --duration: 8s;
    --delay: 0.3s;
    --rotation: 18deg;
    --heart-color: #f0abfc;
}

.heart-background span:nth-child(9) {
    --left: 82%;
    --size: 13px;
    --duration: 5s;
    --delay: 2.2s;
    --rotation: -18deg;
    --heart-color: #a78bfa;
}

.heart-background span:nth-child(10) {
    --left: 90%;
    --size: 31px;
    --duration: 8.5s;
    --delay: 1s;
    --rotation: 22deg;
    --heart-color: #c084fc;
}

.heart-background span:nth-child(11) {
    --left: 40%;
    --size: 20px;
    --duration: 7.5s;
    --delay: 4s;
    --rotation: -30deg;
    --heart-color: #818cf8;
}

.heart-background span:nth-child(12) {
    --left: 60%;
    --size: 15px;
    --duration: 6s;
    --delay: 3.5s;
    --rotation: 12deg;
    --heart-color: #f0abfc;
}


/* =========================================
   HEART FLOAT ANIMATION
   ========================================= */

@keyframes heartFloat {

    0% {

        transform:
            translateY(0)
            translateX(0)
            rotate(var(--rotation))
            scale(0.6);

        opacity: 0;

    }


    10% {

        opacity: 0.8;

    }


    30% {

        transform:
            translateY(-120px)
            translateX(15px)
            rotate(calc(var(--rotation) + 10deg))
            scale(1);

    }


    50% {

        transform:
            translateY(-250px)
            translateX(-20px)
            rotate(calc(var(--rotation) - 10deg))
            scale(0.9);

    }


    70% {

        transform:
            translateY(-380px)
            translateX(20px)
            rotate(calc(var(--rotation) + 15deg))
            scale(1.05);

    }


    90% {

        opacity: 0.5;

    }


    100% {

        transform:
            translateY(-520px)
            translateX(-10px)
            rotate(var(--rotation))
            scale(0.7);

        opacity: 0;

    }

}


/* Make profile card stay above hearts */

.profile-card {

    position: relative;

    z-index: 2;
}

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */

.whatsapp-float {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;

    color: white;

    border-radius: 50%;

    font-size: 29px;

    z-index: 999;

    box-shadow:
        0 8px 25px rgba(37, 211, 102, 0.35);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* Hover */

.whatsapp-float:hover {

    transform:
        translateY(-5px)
        scale(1.08);

    box-shadow:
        0 12px 35px rgba(37, 211, 102, 0.5);

    color: white;
}


/* Pulsing ring */

.whatsapp-float::before {

    content: "";

    position: absolute;

    inset: -5px;

    border: 2px solid #25D366;

    border-radius: 50%;

    animation:
        whatsappPulse 2s infinite;

    opacity: 0;
}


@keyframes whatsappPulse {

    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.35);
        opacity: 0;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}


/* Mobile */

@media (max-width: 550px) {

    .whatsapp-float {

        width: 52px;
        height: 52px;

        right: 18px;
        bottom: 18px;

        font-size: 26px;
    }

}