@import url('https://fonts.googleapis.com/css2?family=Island+Moments&family=Monsieur+La+Doulaise&family=Permanent+Marker&display=swap');

/* =================================== GLOBAL & RESET =================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 180px;
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Quicksand', sans-serif;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    color: #333;
    background: #060d17;
}

/* =================================== HEADER SECTION =================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #060d17;
    color: white;
    text-align: center;
    z-index: 1000;
}

.hello-title a {
    font-family: 'Permanent Marker', cursive;
    font-size: 3.5rem;
    color: white;
    text-decoration: none;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    transition: text-shadow 0.45s ease;
}

.hello-title a:hover {
    text-shadow: 
        0 0 40px #ffffff,
        0 0 80px #ffffff,
        0 0 120px #ffffff;
}

.hamburger-checkbox {
    display: none;
}

.hamburger {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1001;
    display: inline-block;
}

.hamburger span {
    background: white;
    width: 30px;
    height: 4px;
    margin: 5px 0;
    display: block;
    transition: all 0.3s ease;
}

.hamburger-checkbox:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-checkbox:checked + .hamburger span:nth-child(2) {
    opacity: 0;
}

.hamburger-checkbox:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.main-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #060d17;
    padding: 0;
    z-index: 999;
}

.hamburger-checkbox:checked ~ .main-nav {
    max-height: 500px;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.nav-list li {
    margin: 0;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: block;
    padding: 10px 20px;
}

.nav-list a:hover {
    color: #47b6e4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 835px) {
    .hamburger {
        display: none;
    }

    .main-nav {
        max-height: none;
        overflow: visible;
        display: flex;
        position: static;
        background: none;
        padding: 0;
        justify-content: center;
        transition: none;
    }

    .nav-list {
        flex-direction: row;
        gap: 60px;
    }

    .nav-list a {
        font-size: 1.1rem;
        padding: 10px 0;
        position: relative;
    }

    .nav-list a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 3px;
        bottom: 0;
        left: 50%;
        background: #47b6e4;
        transition: all 0.4s ease;
        transform: translateX(-50%);
    }

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

    .nav-list a:hover {
        color: #47b6e4;
    }
    
    .hello-title a {
        font-size: 5rem;
    }
}

/* =================================== WELCOME SECTION =================================== */
.welcome-section {
    position: relative;
    height: 140vh;
    background: #060d17;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.welcome-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.welcome-text-wrapper {
    text-align: center;
    z-index: 2;
}

.welcome-title {
    font-family: 'Permanent Marker', cursive;
    font-size: 3rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 4px 4px 0px rgba(0,0,0,0.3);
}

.welcome-tagline {
    font-size: 1.1rem;
    color: #47b6e4;
    margin-bottom: 25px;
    font-weight: bold;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icons a {
    color: white;
    font-size: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #ff4757;
    transform: translateY(-5px);
}

.scroll-down {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: #47b6e4;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(71, 182, 228, 0.4);
}

.scroll-down:hover {
    background: #ff4757;
    transform: translateY(5px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.5);
}

.welcome-image-wrapper {
    position: relative;
    z-index: 1;
    animation: fadeIn 1.5s ease-out;
}

.portrait-frame {
    position: relative;
    width: 280px;
    height: 350px;
    border: 8px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px 0 30px 0;
    box-shadow: 20px 20px 0 rgba(0,0,0,0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.portrait-frame:hover {
    transform: scale(1.02) rotate(1deg);
    border-color: #47b6e4;
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#welcome .welcome-text-wrapper {
    animation: slideRight 1s ease-out backwards;
}

#welcome .welcome-image-wrapper {
    animation: slideLeft 2s ease-out backwards;
}

@media (min-width: 429px) and (max-width: 834px) {
    .welcome-section {
        height: 75vh;
    }
}

@media (min-width: 835px) {
    .welcome-section {
        height: 120vh;
    }
    
    .welcome-container {
        width: 100%;
        max-width: 950px;
        margin: 0 auto;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 0 40px;
    }

    .welcome-text-wrapper {
        text-align: left;
        flex: 1;
    }

    .social-icons {
        justify-content: flex-start;
    }

    .welcome-title {
        font-size: 4.5rem;
    }

    .welcome-tagline {
        font-size: 1.4rem;
    }

    .welcome-image-wrapper {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }

    .portrait-frame {
        width: 400px;
        height: 500px;
        border-width: 12px;
        box-shadow: 30px 30px 0 rgba(0,0,0,0.2);
    }
}

/* =================================== ABOUT SECTION =================================== */
.about-section {
    position: relative;
    padding: 100px 20px;
    background: #f8f9fa;
    overflow: hidden;
}

.about-container {
    position: relative;
    min-height: 700px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#about .about-container {
    animation: slideUp 1s ease-out 1s backwards;
}

.about-container:has(.orbit-img:hover) .about-text {
    opacity: 0.2;
    transition: opacity 0.3s;
}

.about-text {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: blur(5px);
}

.orbit-img {
    position: absolute;
    z-index: 1;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), z-index 0s;
}

.orbit-img:hover {
    z-index: 100;
    border-color: #47b6e4;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    cursor: pointer;
}

.pos-1 { top: 5%;      left: -10%;    transform: rotate(-15deg); }
.pos-2 { top: 5%;      right: -10%;   transform: rotate(10deg); }
.pos-3 { top: 40%;     left: -20px;   transform: rotate(-5deg); }
.pos-4 { top: -10%;    right: 35%;    transform: rotate(5deg); }
.pos-5 { bottom: 5%;   left: -10%;    transform: rotate(-10deg); }
.pos-6 { bottom: 5%;   right: -10%;   transform: rotate(8deg); }
.pos-7 { bottom: -10%; left: 35%;     transform: rotate(-10deg); }
.pos-8 { bottom: 40%;  left: 80%;     transform: rotate(8deg); }

.pos-1:hover { transform: scale(2.2) translate(30px, 30px) rotate(0deg); }
.pos-2:hover { transform: scale(2.2) translate(-30px, 30px) rotate(0deg); }
.pos-3:hover { transform: scale(2.2) translate(30%, 0px) rotate(0deg); }
.pos-4:hover { transform: scale(2.2) translate(0%, 30%) rotate(0deg); }
.pos-5:hover { transform: scale(2.2) translate(30%, -30px) rotate(0deg); }
.pos-6:hover { transform: scale(2.2) translate(-30px, -30px) rotate(0deg); }
.pos-7:hover { transform: scale(2.2) translate(0%, -30%) rotate(0deg); }
.pos-8:hover { transform: scale(2.2) translate(-30%, 0%) rotate(0deg); }

@media (min-width: 429px) and (max-width: 834px) {
    .about-section .about-container {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 800px;
    }

    .about-text {
        max-width: 550px;
        padding: 50px;
    }

    .orbit-img {
        width: 200px;
        height: 200px;
    }

    .pos-1 { top: 2%; left: 5%; }
    .pos-2 { top: 2%; right: 5%; }
    .pos-3 { top: 40%; left: 0%; }
    .pos-4 { top: 0%; right: 36%; }
    .pos-5 { bottom: 5%; left: 10%; }
    .pos-6 { bottom: 5%; right: 10%; }
    .pos-7 { bottom: 4%; left: 37%; }
    .pos-8 { bottom: 40%; left: 75%; }
}

@media (min-width: 835px) {
    .about-section .about-container {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0 auto;
    }
      
    .about-container {
        min-height: 800px;
    }

    .about-text {
        max-width: 700px;
        padding: 60px;
    }

    .orbit-img {
        width: 250px;
        height: 250px;
    }

    .pos-1 { top: 2%; left: 5%; }
    .pos-2 { top: 2%; right: 5%; }
    .pos-3 { top: 40%; left: 75%; }
    .pos-4 { top: 0%; right: 40%; }
    .pos-5 { bottom: 5%; left: 10%; }
    .pos-6 { bottom: 5%; right: 10%; }
    .pos-7 { bottom: 4%; left: 40%; }
    .pos-8 { bottom: 40%; left: 0%; }

    .pos-1:hover { transform: scale(1.2) translate(30px, 30px) rotate(0deg); }
    .pos-2:hover { transform: scale(1.2) translate(-30px, 30px) rotate(0deg); }
    .pos-3:hover { transform: scale(1.2) translate(-30%, 0px) rotate(0deg); }
    .pos-4:hover { transform: scale(1.2) translate(0%, 10%) rotate(0deg); }
    .pos-5:hover { transform: scale(1.2) translate(30px, -30px) rotate(0deg); }
    .pos-6:hover { transform: scale(1.2) translate(-30px, -30px) rotate(0deg); }
    .pos-7:hover { transform: scale(1.2) translate(0%, -30%) rotate(0deg); }
    .pos-8:hover { transform: scale(1.2) translate(30%, 0%) rotate(0deg); }
}

/* =================================== SKILLS SECTION =================================== */
.skills-bg {
    background: #e3f2fd;
    padding: 40px 0;
}

.skills-section .section-title {
    font-family: 'Permanent Marker';
    font-size: 3rem;
    color: #264559;
    text-align: center;
    margin-bottom: 40px;
}

.skill-row {
    display: grid;
    gap: 50px;
    margin-bottom: 100px;
    align-items: center;
    grid-template-columns: 1fr;
    text-align: center;
}

.skill-text {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.skill-title {
    font-family: 'Permanent Marker', cursive;
    font-size: 2rem;
    color: #47b6e4;
    margin-bottom: 20px;
}

.skill-image {
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
}

.card {
    perspective: 1000px;
    cursor: pointer;
    background: transparent;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.card-front { 
    background: #fff; 
}

.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-front img { 
    transform: scale(1.1); 
}

.card-back {
    background: #1a2d3a;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-color: #47b6e4;
}

.card-back h3 {
    font-family: 'Permanent Marker', cursive;
    color: #47b6e4;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.card-back ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-back li {
    color: white;
    font-size: 1.1rem;
    margin: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 2px;
}

.skill-image .card {
    width: 350px;
    height: 350px;
}

.skill-image .card-front,
.skill-image .card-back {
    border-radius: 20%;
    border: 5px solid white;
}

.mosaic-item .card-front,
.mosaic-item .card-back {
    border-radius: 20px;
}

.skill-row.reverse {
    direction: ltr;
}

.skill-row.reverse > * {
    direction: ltr;
}

#skills .skill-row {
    animation: slideRight 2s ease-out 1s backwards;
}

#skills .skill-row.reverse {
    animation: slideLeft 2s ease-out 1.2s backwards;
}

@media (min-width: 429px) and (max-width: 834px) {
    .skill-row {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 40px;
    }

    .skill-row.reverse {
        direction: rtl;
    }
    
    .skill-row.reverse .skill-text {
        direction: ltr;
        text-align: left;
    }
}

@media (min-width: 835px) {
    .skill-row {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 60px;
    }

    .skill-row.reverse {
        direction: rtl;
    }

    .skill-image {
        order: initial;
    }

    .skill-image .card {
        height: 400px;
        width: 400px;
    }
}
/* =================================== PROJECTS SECTION =================================== */
#future-dev {
    background: #060d17;
    padding: 80px 20px;
    color: white;
}

.future-dev-container {
    max-width: 1200px;
    margin: 0 auto;
}

.future-title {
    font-family: 'Permanent Marker', cursive;
    font-size: 3rem;
    color: #47b6e4;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 0 0 20px rgba(71, 182, 228, 0.4);
    animation: glowPulse 3s infinite alternate;
}

.projects-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
    gap: 20px;
}

.mosaic-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.mosaic-item .card {
    width: 100%;
    height: 100%;
}

.tile-warning-flip .warning-front {
    background: #333;
    border: 3px solid #ff4757;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

.warning-front p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.4;
}

.warning-front strong {
    font-family: 'Permanent Marker', cursive;
    font-size: 2rem;
    background: linear-gradient(90deg, #ff4757, #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    animation: pulseGlow 1s infinite alternate;
}

.tile-warning-flip .card-back {
    background: #1a2d3a;
    border-color: #ff4757;
}

#future-dev .future-title {
    animation: fadeIn 1s ease-out 1.5s backwards;
}
#future-dev .projects-mosaic {
    animation: slideUp 1s ease-out 1.7s backwards;
}

#contact .contact-container {
    animation: slideUp 1s ease-out 2s backwards;
}

/* ==================== PROGRESS BARS ==================== */

.progress-wrapper {
    width: 100%;
    margin: 10px 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: bold;
    color: #ff4757;
    margin-bottom: 5px;
}

.progress-track {
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

.bootcamp-progress-fill,
.mactrack-progress-fill,
.dashboard-progress-fill,
.rmf-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4757, #ff6b6b);
    border-radius: 10px;
    width: 0%;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.7);
}

.rmf-progress-fill {
    background: linear-gradient(90deg, #00d2d3, #47b6e4);
    box-shadow: 0 0 10px rgba(71, 182, 228, 0.7);
}

.card:hover .bootcamp-progress-fill  { animation: bootcamp-load 1.5s ease-out forwards 0.3s; }
.card:hover .mactrack-progress-fill  { animation: mactrack-load 1.5s ease-out forwards 0.3s; }
.card:hover .dashboard-progress-fill { animation: dashboard-load 1.5s ease-out forwards 0.3s; }
.card:hover .rmf-progress-fill       { animation: rmf-load 1.5s ease-out forwards 0.3s; }

.tile-big .card-front { background: #0d1a24; }
.tile-big .card-back  { background: #1a2d3a; }



/* ==================== RMF LOADING BAR ==================== */

.rmf-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d2d3, #47b6e4);
    border-radius: 10px;
    width: 0%;
    box-shadow: 0 0 10px rgba(71, 182, 228, 0.7);
}

.card:hover .rmf-progress-fill {
    animation: rmf-loadBar 1.5s ease-out forwards 0.3s;
}

@keyframes rmf-loadBar {
    from { width: 0%; }
    to   { width: 30%; }
}

@media (min-width: 600px) {
    .projects-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }

    .tile-wide, .tile-big {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .future-title {
        font-size: 5rem;
    }

    .projects-mosaic {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 250px;
        gap: 25px;
    }

    .tile-big   { grid-column: span 2; grid-row: span 2; }
    .tile-tall  { grid-column: span 1; grid-row: span 2; }
    .tile-wide  { grid-column: span 2; grid-row: span 1; }
}

/* =================================== CONTACT SECTION =================================== */
.contact-section {
    padding: 50px 20px;
    background: #e3f2fd;
    color: black;
    text-align: center;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #47b6e4;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-header {
    font-family: 'Permanent Marker';
    font-size: 2.5rem;
    color: #f8f9fa;
    margin-bottom: 5px;
    text-shadow: 2px 2px 0 #264559;
}

.contact-social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.contact-social-icons a {
    color: #264559;
    font-size: 24px;
    width: 45px;
    height: 45px;
    background: rgb(255, 255, 255, 0.15);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-social-icons a:hover {
    background: rgba(255, 71, 87);
    transform: translateY(-5px);
}

.contact-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #264559;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #264559;
    border-radius: 10px;
    background: #f8f9fa;
    color: #264559;
    font-size: 1rem;
    transition: all 0.3s ease;
}

button[type="submit"] {
    padding: 14px 30px;
    background: linear-gradient(90deg, #47b6e4, #0a1628);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(71, 182, 228, 0.3);
}

button[type="submit"]:hover {
    background: linear-gradient(90deg, #ff4757, #ff6b6b);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 71, 87, 0.5);
}

.contact-photo img {
    height: 200px;
    width: 200px;
    border: 5px solid #47b6e4;
    border-radius: 50%;
    box-shadow: 10px 10px 40px rgb(255, 255, 255, 1);
}

@media (min-width: 429px) and (max-width: 834px) {
    .contact-container {
        padding: 40px;
        flex-direction: column;
    }

    .contact-photo img {
        height: 250px;
        width: 250px;
    }
}

@media (min-width: 835px) {
    .contact-container {
        padding: 20px;
    }

    .contact-header {
        font-size: 3rem;
    }

    .contact-photo img {
        height: 440px;
        width: 440px;
    }

    .contact-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 50px;
    }

    form {
        flex: 1;
    }

    .contact-photo {
        flex: 0 0 auto;
    }
}

/* =================================== FOOTER SECTION =================================== */
.site-footer {
    background: #040a12;
    color: white;
    text-align: center;
}

.back-to-top {
    position: fixed;
    color: white;
    bottom: 80px;
    right: 0px;
    font-size: 26px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.site-footer .hello-title a {
    font-size: 3.5rem;
    color: white;
}

.my-name {
    font-family: 'Island Moments', cursive;
    font-size: 1.5rem;
    color: #47b6e4;
    margin: 30px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.9;
}

.first-name {
    font-size: 3rem;
    font-style: italic;
    color: white;
    margin-bottom: -20px;
}

.last-name {
    font-size: 5rem;
    font-weight: bold;
    color: #47b6e4;
    text-shadow: 4px 4px 12px rgba(0, 0, 0, 0.6);
}

.footer-socials {
    margin-top: 30px;
    margin-bottom: 30px;
    justify-content: center;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 835px) {
    .site-footer .hello-title a {
        font-size: 5rem;
    }
}

/* =================================== KEYFRAMES =================================== */
@keyframes glowPulse {
    from { text-shadow: 0 0 10px rgba(71, 182, 228, 0.5); }
    to   { text-shadow: 0 0 30px rgba(71, 182, 228, 1); }
}

@keyframes pulseGlow {
    from { text-shadow: 0 0 10px rgba(255, 71, 87, 0.8), 0 0 20px rgba(255, 71, 87, 0.6); }
    to   { text-shadow: 0 0 15px rgba(255, 71, 87, 1),   0 0 30px rgba(255, 71, 87, 0.8); }
}

@keyframes neonPulse {
    from { box-shadow: 0 0 5px rgba(0, 238, 255, 0.4), inset 0 0 5px rgba(0, 238, 255, 0.4); }
    to   { box-shadow: 0 0 20px rgba(0, 238, 255, 0.9), inset 0 0 10px rgba(0, 238, 255, 0.9); transform: scale(1.1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-200px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-200px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(200px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(200px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes popUp {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes bootcamp-load { 
    from { width: 0%; } 
    to { width: 17%; } 
}

@keyframes mactrack-load { 
    from { width: 0%; } 
    to { width: 90%; } 
}

@keyframes dashboard-load { 
    from { width: 0%; } 
    to { width: 10%; } 
}

@keyframes rmf-load { 
    from { width: 0%; } 
    to { width: 30%; }
} 

/* ==================== FLIP INDICATOR STYLES ==================== */

.flip-indicator {
    position: absolute;
    bottom: 15px; 
    left: 50%;
    transform: translateX(-50%); 
    
    background: rgba(38, 69, 89, 0.85); 
    backdrop-filter: blur(4px);
    color: #47b6e4;
    border: 1px solid rgba(71, 182, 228, 0.4);
    
    padding: 8px 16px;
    border-radius: 50px; 
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    display: flex;
    align-items: center;
    gap: 8px;
    
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    opacity: 0.9;
    z-index: 5;
}

.flip-indicator {
    animation: bounceHint 2s infinite;
}

@keyframes bounceHint {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-5px);}
    60% {transform: translateX(-50%) translateY(-3px);}
}

.card:hover .flip-indicator {
    opacity: 0;
    transition: opacity 0.2s;
}

/* ==================== BLOG PAGE STYLES ==================== */

.blog-section {
    padding: 120px 20px 60px; 
    min-height: 100vh;
    background: #e3f2fd; 
}

.blog-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 800px !important;
    padding-top: 80px !important;

}

.blog-hero {
    width: 400px;
    height: 400px;
    overflow: hidden;
}

.blog-hero img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

.blog-content {
    padding: 40px;
    text-align: left;
}

.blog-date {
    color: #ff4757;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-title {
    font-family: 'Permanent Marker', cursive;
    color: #264559;
    font-size: 2.5rem;
    margin: 10px 0 30px;
    line-height: 1.1;
}

.blog-body p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-body h3 {
    color: #47b6e4;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.blog-quote {
    border-left: 5px solid #ff4757;
    padding-left: 20px;
    font-style: italic;
    color: #264559;
    font-size: 1.2rem;
    margin: 30px 0;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 0 10px 10px 0;
}

.blog-footer {
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 30px;
    text-align: center;
}

.rmf-link {
    color: #00eeff; 
    text-decoration: none; 
    margin-top: 20px; 
    font-size: 0.9rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    display: inline-flex;
    align-items: center;
    gap: 8px; 
    transition: all 0.3s ease;
}

.rmf-link:hover {
    color: white;
    text-shadow: 0 0 10px #00eeff;
    transform: translateY(-2px);
}

/* =================================================================
   JAVASCRIPT ENHANCEMENT STYLES  (added by main.js)
   ================================================================= */

/* ── Custom Cursor ── */
.cursor-ring,
.cursor-dot {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: left, top;
    top: -300px;
    left: -300px;
}

.cursor-ring {
    width: 34px;
    height: 34px;
    border: 2px solid rgba(71, 182, 228, 0.75);
    transition: width 0.22s ease, height 0.22s ease, border-color 0.22s ease;
}

.cursor-ring.big {
    width: 58px;
    height: 58px;
    border-color: rgba(255, 71, 87, 0.8);
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: #47b6e4;
    box-shadow: 0 0 8px #47b6e4, 0 0 16px rgba(71,182,228,0.4);
}

/* ── Particle Canvas ── */
.particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Ensure welcome content stays above canvas */
.welcome-section .welcome-container {
    position: relative;
    z-index: 2;
}

/* ── Scroll Progress Bar ── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #47b6e4, #00eeff, #ff4757);
    z-index: 9998;
    box-shadow: 0 0 10px rgba(71, 182, 228, 0.7);
    pointer-events: none;
    transition: width 0.08s linear;
}

/* ── Scroll Reveal  ── */
.rv {
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.rv-up    { opacity: 0; transform: translateY(48px); }
.rv-left  { opacity: 0; transform: translateX(-48px); }
.rv-right { opacity: 0; transform: translateX(48px); }

.rv.rv-show {
    opacity: 1 !important;
    transform: none !important;
}

/* ── Active Nav Link ── */
.nav-list a.nav-active {
    color: #47b6e4;
}

@media (min-width: 835px) {
    .nav-list a.nav-active::after {
        width: 100%;
    }
}

/* ── Typewriter cursor blink ── */
.welcome-tagline::after {
    content: '|';
    color: #47b6e4;
    font-weight: bold;
    margin-left: 2px;
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ── Back-to-top enhanced ── */
.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s ease;
    text-decoration: none;
}

.back-to-top.btt-visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #47b6e4;
    color: #264559;
}

/* ── Click-to-flip (touch devices) ── */
.touch-flipped .card-inner {
    transform: rotateY(180deg) !important;
}

/* ── Floating Orbit Photos ── */
@keyframes orbitFloat {
    0%   { transform: rotate(var(--base-rot, 0deg)) translateY(0px);     }
    100% { transform: rotate(var(--base-rot, 0deg)) translateY(-12px);   }
}

.orbit-float {
    animation:
        orbitFloat var(--float-dur, 3s) ease-in-out var(--float-delay, 0s) infinite alternate;
}

/* Pause float on hover so the CSS hover zoom takes over cleanly */
.orbit-float:hover {
    animation-play-state: paused;
}

/* ── Header — glass/blur on scroll ── */
.header-scrolled {
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
    background: rgba(38, 69, 89, 0.88) !important;
}

/* ── Toast Notification ── */
.toast-msg {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1a2d3a;
    color: #47b6e4;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    border: 1px solid rgba(71, 182, 228, 0.6);
    box-shadow: 0 8px 30px rgba(71, 182, 228, 0.35);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 10000;
    pointer-events: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── Glitch flicker CSS helper ── */
.welcome-title {
    position: relative;
    display: inline-block;
    cursor: default;
}

/* ── Skill Card enhanced hover (desktop) ── */
@media (min-width: 835px) {
    .skill-image .card:hover {
        filter: drop-shadow(0 0 18px rgba(71, 182, 228, 0.45));
    }
}

/* ── Project Card glow on hover ── */
.mosaic-item .card:hover {
    filter: drop-shadow(0 0 12px rgba(71, 182, 228, 0.3));
}

/* ── Hero section: slight gradient overlay for contrast ── */
.welcome-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 50%, rgba(71,182,228,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* ── Form input focus glow ── */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #47b6e4;
    box-shadow: 0 0 0 3px rgba(71, 182, 228, 0.2);
}

/* ── Social icon transition improvement ── */
.social-icons a,
.contact-social-icons a {
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
}

.social-icons a:hover,
.contact-social-icons a:hover {
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.45);
}

/* ── Portrait glow on hover ── */
.portrait-frame:hover {
    box-shadow: 0 0 40px rgba(71, 182, 228, 0.35), 30px 30px 0 rgba(0,0,0,0.2);
}

/* ── Flip indicator pulse ring (extra flair) ── */
.flip-indicator::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 1px solid rgba(71, 182, 228, 0.3);
    animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1);   opacity: 0.4; }
    50%       { transform: scale(1.1); opacity: 0;   }
}

/* =================================================================
   PROJECT CARD REDESIGN
   ================================================================= */

/* ── Card-front overlay (label + status badge) ── */
.card-front-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 14px 10px;
    background: linear-gradient(to top, rgba(15, 25, 35, 0.96) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 3;
    pointer-events: none;
}

.cfo-label {
    font-family: 'Permanent Marker', cursive;
    font-size: 0.82rem;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.cfo-badge {
    font-size: 0.62rem;
    color: #47b6e4;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Courier New', monospace;
}

/* ── Status pulse dot ── */
.status-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    background: #47b6e4;
    flex-shrink: 0;
    animation: dotPulse 1.8s ease-in-out infinite;
}
.status-pulse.amber { background: #ffa502; animation: dotPulseAmber 1.8s ease-in-out infinite; }
.status-pulse.red   { background: #ff4757; animation: dotPulseRed   1.5s ease-in-out infinite; }
.status-pulse.green { background: #2ed573; animation: dotPulseGreen 2s ease-in-out infinite; }

@keyframes dotPulse      { 0%,100%{box-shadow:0 0 0 0 rgba(71,182,228,0.6)} 50%{box-shadow:0 0 0 5px rgba(71,182,228,0)} }
@keyframes dotPulseAmber { 0%,100%{box-shadow:0 0 0 0 rgba(255,165,2,0.6)}  50%{box-shadow:0 0 0 5px rgba(255,165,2,0)}  }
@keyframes dotPulseRed   { 0%,100%{box-shadow:0 0 0 0 rgba(255,71,87,0.6)}  50%{box-shadow:0 0 0 5px rgba(255,71,87,0)}  }
@keyframes dotPulseGreen { 0%,100%{box-shadow:0 0 0 0 rgba(46,213,115,0.6)} 50%{box-shadow:0 0 0 5px rgba(46,213,115,0)} }

/* ── Card-back: grid pattern + layout ── */
.card-back {
    background-image:
        linear-gradient(rgba(71,182,228,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71,182,228,0.04) 1px, transparent 1px);
    background-size: 22px 22px;
}

/* Card-back content layout */
.cb-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 100%;
    padding: 16px;
}

.cb-icon {
    font-size: 2.2rem;
    color: #47b6e4;
    filter: drop-shadow(0 0 10px rgba(71,182,228,0.7));
    line-height: 1;
    margin-bottom: 4px;
}

.cb-icon.icon-red   { color: #ff4757; filter: drop-shadow(0 0 10px rgba(255,71,87,0.7)); }
.cb-icon.icon-gold  { color: #ffd700; filter: drop-shadow(0 0 10px rgba(255,215,0,0.7)); }
.cb-icon.icon-green { color: #2ed573; filter: drop-shadow(0 0 10px rgba(46,213,115,0.7)); }
.cb-icon.icon-amber { color: #ffa502; filter: drop-shadow(0 0 10px rgba(255,165,2,0.7)); }

.cb-title {
    font-family: 'Permanent Marker', cursive;
    color: #47b6e4;
    margin: 0;
    font-size: 1.15rem;
    text-align: center;
    line-height: 1.2;
}

.cb-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(71,182,228,0.1);
    border: 1px solid rgba(71,182,228,0.3);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.62rem;
    font-weight: bold;
    color: #47b6e4;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
}

.cb-status-badge.badge-red   { color:#ff4757; background:rgba(255,71,87,0.1);  border-color:rgba(255,71,87,0.3); }
.cb-status-badge.badge-gold  { color:#ffd700; background:rgba(255,215,0,0.1);  border-color:rgba(255,215,0,0.3); }
.cb-status-badge.badge-green { color:#2ed573; background:rgba(46,213,115,0.1); border-color:rgba(46,213,115,0.3); }
.cb-status-badge.badge-amber { color:#ffa502; background:rgba(255,165,2,0.1);  border-color:rgba(255,165,2,0.3); }

.cb-desc {
    color: rgba(255,255,255,0.82);
    font-size: 0.78rem;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

.cb-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-top: 4px;
}

.cb-tag {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.6);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
}

.cb-tag.tag-cyan  { color: #47b6e4; border-color: rgba(71,182,228,0.3); background: rgba(71,182,228,0.08); }
.cb-tag.tag-red   { color: #ff4757; border-color: rgba(255,71,87,0.3);  background: rgba(255,71,87,0.08);  }
.cb-tag.tag-gold  { color: #ffd700; border-color: rgba(255,215,0,0.3);  background: rgba(255,215,0,0.08);  }

/* ── Warning card: animated pulsing border ── */
.tile-warning-flip .card-front.warning-front {
    border-width: 2px;
    animation: warnBorder 2s ease-in-out infinite;
    overflow: hidden;
}

.tile-warning-flip .card-front.warning-front::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 18px,
        rgba(255,71,87,0.04) 18px,
        rgba(255,71,87,0.04) 36px
    );
    pointer-events: none;
    z-index: 0;
    animation: stripeShift 4s linear infinite;
}

@keyframes stripeShift {
    from { background-position: 0 0; }
    to   { background-position: 72px 0; }
}

@keyframes warnBorder {
    0%,100% { box-shadow: 0 0 8px rgba(255,71,87,0.4),  inset 0 0 8px rgba(255,71,87,0.1); }
    50%      { box-shadow: 0 0 22px rgba(255,71,87,0.8), inset 0 0 18px rgba(255,71,87,0.15); }
}

/* ── MACSys card: gold shimmer on front ── */
.tile-big .card-front {
    overflow: hidden;
}

.tile-big .card-front::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255,215,0,0.08) 50%,
        transparent 60%
    );
    transform: skewX(-20deg);
    animation: shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%   { left: -75%; }
    60%, 100% { left: 130%; }
}

/* ── MACSys card-back: gold accent line ── */
.tile-big .card-back {
    border-top: 3px solid rgba(255, 215, 0, 0.6);
}

/* Highlight stat numbers in project cards */
.cb-stat {
    display: flex;
    align-items: baseline;
    gap: 4px;
    justify-content: center;
}

.cb-stat-num {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.6rem;
    color: #47b6e4;
    line-height: 1;
    text-shadow: 0 0 12px rgba(71,182,228,0.6);
}

.cb-stat-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.cb-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(71,182,228,0.5), transparent);
    margin: 4px auto;
}

/* ── RMF card-back: SDLC stage strip ── */
.sdlc-stages {
    display: flex;
    gap: 3px;
    margin-top: 6px;
}

.sdlc-step {
    flex: 1;
    height: 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
}

.sdlc-step.done  { background: #2ed573; }
.sdlc-step.active {
    background: #47b6e4;
    box-shadow: 0 0 6px rgba(71,182,228,0.8);
    animation: sdlcPulse 1.5s ease-in-out infinite;
}

@keyframes sdlcPulse {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.5; }
}

.sdlc-label {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
    text-align: center;
    margin-top: 3px;
}

/* ── MACTrack: almost-complete glow ── */
.tile-mactrack .card-back {
    border-top: 3px solid rgba(46,213,115,0.6);
}

/* ── Mosaic card hover: colored glow per category ── */
.tile-warning-flip .card:hover { filter: drop-shadow(0 0 14px rgba(255,71,87,0.5)); }
.tile-big          .card:hover { filter: drop-shadow(0 0 14px rgba(255,215,0,0.35)); }

/* =================================================================
   FULL CYBER / AI THEME REDESIGN
   ================================================================= */

/* ── Design tokens ── */
:root {
    --c-bg-deep:  #060d17;
    --c-bg-dark:  #080f1d;
    --c-bg-panel: #0a1628;
    --c-cyan:     #47b6e4;
    --c-bright:   #00eeff;
    --c-green:    #00ff88;
    --c-red:      #ff4757;
    --c-amber:    #ffa502;
    --c-text:     #c8e6f5;
    --c-dim:      rgba(200,230,245,0.45);
    --c-border:   rgba(71,182,228,0.22);
    --c-glow:     rgba(71,182,228,0.12);
}

/* ── Global: subtle dot-grid overlay ── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(71,182,228,0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
}

/* Ensure sections sit above body overlay */
header, main, footer, section { position: relative; z-index: 1; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--c-bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(71,182,228,0.35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(71,182,228,0.6); }

/* ═══════════════════════════════════
   HEADER
═══════════════════════════════════ */
.site-header {
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 0 40px rgba(0,0,0,0.7);
}

/* Neon line under header */
.site-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #47b6e4 30%, #00eeff 50%, #47b6e4 70%, transparent 100%);
    opacity: 0.55;
    pointer-events: none;
}

/* Nav: monospace terminal style */
.nav-list a {
    font-family: 'Courier New', monospace !important;
    font-size: 0.78rem !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-list a::before {
    content: '> ';
    color: var(--c-cyan);
    opacity: 0;
    transition: opacity 0.25s;
    font-size: 0.9em;
}

.nav-list a:hover::before,
.nav-list a.nav-active::before { opacity: 1; }

/* Logo glow */
.hello-title a {
    letter-spacing: 6px;
}
.hello-title a:hover {
    text-shadow: 0 0 20px rgba(255,255,255,0.6), 0 0 40px #47b6e4, 0 0 80px #47b6e4 !important;
}

/* ═══════════════════════════════════
   HERO SECTION
═══════════════════════════════════ */

/* Gradient depth overlay */
.welcome-section {
    background: radial-gradient(ellipse at 40% 60%, #0f2540 0%, #060d17 70%) !important;
}

/* Hero eyebrow badge */
.hero-eyebrow {
    font-family: 'Courier New', monospace;
    font-size: 0.68rem;
    letter-spacing: 4px;
    color: var(--c-bright);
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.8;
}
.eyebrow-bracket { color: rgba(71,182,228,0.4); }

/* Sys-bar */
.hero-sys-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 14px 0 28px;
    font-family: 'Courier New', monospace;
    font-size: 0.63rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--c-dim);
}
.hsb-item { display: flex; align-items: center; gap: 5px; }
.hsb-sep  { color: rgba(71,182,228,0.25); font-weight: bold; }

/* Scroll-down button: terminal style */
.scroll-down {
    font-family: 'Courier New', monospace !important;
    letter-spacing: 2px;
    font-size: 0.85rem !important;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid rgba(71,182,228,0.6) !important;
    background: rgba(71,182,228,0.08) !important;
    box-shadow: 0 0 20px rgba(71,182,228,0.15), inset 0 0 20px rgba(71,182,228,0.04) !important;
    color: #060d17 !important;
}
.scroll-down:hover {
    background: rgba(255,71,87,0.12) !important;
    border-color: rgba(255,71,87,0.6) !important;
    box-shadow: 0 0 25px rgba(255,71,87,0.3), inset 0 0 20px rgba(255,71,87,0.06) !important;
}

/* ── HUD frame around portrait ── */
.hud-frame {
    position: relative;
    display: inline-block;
    padding: 14px;
}

.hc {
    position: absolute;
    width: 24px; height: 24px;
    border-color: var(--c-cyan);
    border-style: solid;
    opacity: 0.75;
    transition: opacity 0.3s, width 0.3s, height 0.3s;
}
.hud-frame:hover .hc { opacity: 1; width: 32px; height: 32px; }

.hc-tl { top: 0;    left: 0;   border-width: 3px 0 0 3px; }
.hc-tr { top: 0;    right: 0;  border-width: 3px 3px 0 0; }
.hc-bl { bottom: 0; left: 0;   border-width: 0 0 3px 3px; }
.hc-br { bottom: 0; right: 0;  border-width: 0 3px 3px 0; }

/* Rotating scan ring */
.hud-scan-ring {
    position: absolute;
    inset: -6px;
    border-radius: 30px 0 30px 0;
    border: 1px solid rgba(71,182,228,0.2);
    animation: ringRotate 8s linear infinite;
    pointer-events: none;
}
.hud-scan-ring::after {
    content: '';
    position: absolute;
    top: -1px; left: 30%;
    width: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00eeff, transparent);
    box-shadow: 0 0 8px #00eeff;
}
@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Scan sweep on portrait image */
.portrait-frame {
    overflow: hidden;
    border-color: rgba(71,182,228,0.35) !important;
    box-shadow: 0 0 0 1px rgba(71,182,228,0.1),
                0 0 30px rgba(71,182,228,0.12),
                30px 30px 0 rgba(0,0,0,0.3) !important;
}
.portrait-frame::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0,238,255,0.7), transparent);
    box-shadow: 0 0 10px rgba(0,238,255,0.5);
    animation: scanSweep 5s linear infinite;
    pointer-events: none;
    z-index: 5;
}
@keyframes scanSweep {
    0%   { top: -3px; opacity: 0; }
    5%   { opacity: 1; }
    95%  { opacity: 0.7; }
    100% { top: 105%; opacity: 0; }
}

/* HUD id label under portrait */
.hud-id-label {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Courier New', monospace;
    font-size: 0.52rem;
    letter-spacing: 2px;
    color: var(--c-cyan);
    background: #0a1628;
    padding: 2px 12px;
    border: 1px solid rgba(71,182,228,0.25);
    border-radius: 2px;
    white-space: nowrap;
}

/* ═══════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════ */
.about-section {
    background: var(--c-bg-deep) !important;
}

/* Circuit grid behind about */
.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(71,182,228,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71,182,228,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

/* Terminal window styling for about-text */
.about-text {
    background: rgba(6,13,23,0.97) !important;
    border: 1px solid var(--c-border) !important;
    border-top: none !important;
    box-shadow:
        0 0 0 1px rgba(71,182,228,0.08),
        0 0 60px rgba(71,182,228,0.06),
        0 30px 80px rgba(0,0,0,0.6) !important;
    padding: 0 !important;
    overflow: hidden;
    backdrop-filter: none !important;
}

.about-text-body {
    padding: 30px 40px;
}

.about-text .section-title {
    color: var(--c-bright) !important;
    text-shadow: 0 0 20px rgba(0,238,255,0.35) !important;
    letter-spacing: 3px;
}

.about-text p {
    color: var(--c-text);
    line-height: 1.8;
}

/* Orbit images: glow on dark bg */
.orbit-img {
    border-color: rgba(71,182,228,0.4) !important;
    box-shadow: 0 0 18px rgba(71,182,228,0.15), 0 8px 25px rgba(0,0,0,0.5) !important;
}

/* ═══════════════════════════════════
   TERMINAL BAR COMPONENT
   (shared: about + contact + skills)
═══════════════════════════════════ */
.terminal-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(71,182,228,0.18);
    padding: 8px 16px;
    flex-shrink: 0;
}

.terminal-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}
.terminal-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: block;
}
.terminal-dots span:nth-child(1) { background: #ff5f57; box-shadow: 0 0 4px rgba(255,95,87,0.5); }
.terminal-dots span:nth-child(2) { background: #febc2e; box-shadow: 0 0 4px rgba(254,188,46,0.5); }
.terminal-dots span:nth-child(3) { background: #28c840; box-shadow: 0 0 4px rgba(40,200,64,0.5);  }

.terminal-cmd {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: rgba(71,182,228,0.6);
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cmd-hl    { color: var(--c-bright); }
.cmd-cursor {
    display: inline-block;
    width: 7px; height: 12px;
    background: var(--c-cyan);
    vertical-align: text-bottom;
    margin-left: 3px;
    animation: blink 1s step-end infinite;
}

/* ═══════════════════════════════════
   SKILLS SECTION
═══════════════════════════════════ */
.skills-section,
.skills-bg {
    background: var(--c-bg-dark) !important;
}

/* Hex grid + radial glows */
.skills-bg {
    position: relative;
}
.skills-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 50%, rgba(71,182,228,0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 50%, rgba(0,238,255,0.04) 0%, transparent 55%);
    pointer-events: none;
}
.skills-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(71,182,228,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71,182,228,0.035) 1px, transparent 1px);
    background-size: 38px 38px;
    pointer-events: none;
}

/* Skills section header */
.skills-section-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.skills-section-label {
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: rgba(71,182,228,0.5);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.skills-section .section-title {
    color: var(--c-bright) !important;
    text-shadow: 0 0 25px rgba(0,238,255,0.4), 0 0 60px rgba(0,238,255,0.15) !important;
}

/* Skill-text: HUD dark panel */
.skill-text {
    background: rgba(6,13,23,0.95) !important;
    border: 1px solid var(--c-border) !important;
    border-top: none !important;
    overflow: hidden;
    padding-top: 0 !important;
    position: relative;
}
.skill-text p { color: var(--c-text); position: relative; z-index: 1; }
.skill-title  { position: relative; z-index: 1; }

/* Ambient glow inside skill panel */
.skill-text::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(71,182,228,0.04) 0%, transparent 55%);
    pointer-events: none;
}

/* Skill panel bar */
.skill-panel-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,0.45);
    border-bottom: 1px solid rgba(71,182,228,0.18);
    padding: 7px 16px;
}
.spb-tag {
    font-family: 'Courier New', monospace;
    font-size: 0.62rem;
    color: var(--c-cyan);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex; align-items: center; gap: 6px;
}
.spb-status {
    font-family: 'Courier New', monospace;
    font-size: 0.58rem;
    color: rgba(71,182,228,0.55);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex; align-items: center; gap: 5px;
}

/* Skill card-back: terminal list */
.skill-image .card-back li {
    font-family: 'Courier New', monospace !important;
    font-size: 0.92rem;
    color: var(--c-bright) !important;
    border-bottom-color: rgba(71,182,228,0.12) !important;
    text-align: left;
}
.skill-image .card-back li::before {
    content: '» ';
    color: rgba(0,238,255,0.4);
    font-size: 0.85em;
}
.skill-image .card-back h3 {
    text-shadow: 0 0 18px rgba(71,182,228,0.6);
    letter-spacing: 2px;
}

/* ═══════════════════════════════════
   PROJECTS SECTION HEADER
═══════════════════════════════════ */
.future-title {
    font-size: 3rem;
}

/* Decorative sub-label under future-title */
#future-dev .future-dev-container::before {
    content: '// ACTIVE_OPERATIONS.LOG';
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.62rem;
    letter-spacing: 4px;
    color: rgba(71,182,228,0.35);
    text-align: center;
    margin-bottom: 6px;
}

/* ═══════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════ */
.contact-section {
    background: var(--c-bg-deep) !important;
    position: relative;
}
.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(71,182,228,0.055) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.contact-container {
    background: rgba(6,13,23,0.97) !important;
    border: 1px solid var(--c-border) !important;
    border-top: none !important;
    box-shadow:
        0 0 0 1px rgba(71,182,228,0.08),
        0 0 80px rgba(71,182,228,0.06),
        0 40px 100px rgba(0,0,0,0.7) !important;
    overflow: hidden;
    padding: 0 !important;
}

.contact-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-header {
    color: var(--c-bright) !important;
    text-shadow: 0 0 20px rgba(0,238,255,0.4) !important;
    letter-spacing: 2px;
}

.contact-social-icons a {
    background: rgba(71,182,228,0.08) !important;
    border: 1px solid rgba(71,182,228,0.2);
    color: var(--c-cyan) !important;
}
.contact-social-icons a:hover {
    background: rgba(255,71,87,0.15) !important;
    border-color: rgba(255,71,87,0.4) !important;
    color: var(--c-red) !important;
    box-shadow: 0 8px 22px rgba(255,71,87,0.3) !important;
}

/* Terminal-style inputs */
.form-group label {
    font-family: 'Courier New', monospace !important;
    font-size: 0.7rem !important;
    color: var(--c-cyan) !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.form-group label::before {
    content: '$ ';
    color: rgba(71,182,228,0.4);
}
.form-group input,
.form-group textarea {
    background: rgba(0,0,0,0.5) !important;
    border: 1px solid rgba(71,182,228,0.18) !important;
    border-radius: 4px !important;
    color: var(--c-text) !important;
    font-family: 'Courier New', monospace !important;
    font-size: 0.88rem !important;
    caret-color: var(--c-bright);
    transition: border-color 0.3s, box-shadow 0.3s !important;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(71,182,228,0.2);
    font-style: italic;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(71,182,228,0.55) !important;
    box-shadow: 0 0 0 3px rgba(71,182,228,0.1), 0 0 20px rgba(71,182,228,0.08) !important;
    outline: none;
}

button[type="submit"] {
    font-family: 'Courier New', monospace !important;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    background: transparent !important;
    border: 1px solid rgba(71,182,228,0.5) !important;
    color: var(--c-cyan) !important;
    box-shadow: 0 0 20px rgba(71,182,228,0.08) !important;
    font-size: 0.88rem !important;
}
button[type="submit"]:hover {
    background: rgba(71,182,228,0.08) !important;
    border-color: var(--c-bright) !important;
    color: var(--c-bright) !important;
    box-shadow: 0 0 30px rgba(0,238,255,0.2), inset 0 0 20px rgba(0,238,255,0.04) !important;
    transform: translateY(-2px) !important;
}

.contact-photo img {
    border-color: rgba(71,182,228,0.35) !important;
    box-shadow: 0 0 35px rgba(71,182,228,0.2), 0 0 70px rgba(71,182,228,0.08) !important;
    filter: drop-shadow(0 0 12px rgba(71,182,228,0.3));
}

@media (min-width: 429px) and (max-width: 834px) {
    .contact-body { padding: 30px 40px; }
}
@media (min-width: 835px) {
    .contact-body { padding: 20px 30px 30px; }
}

/* about-text-body responsive padding */
.about-text-body { padding: 28px 30px 30px; }
@media (min-width: 429px) and (max-width: 834px) {
    .about-text-body { padding: 30px 50px; }
}
@media (min-width: 835px) {
    .about-text-body { padding: 40px 60px; }
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.site-footer {
    border-top: 1px solid rgba(71,182,228,0.12);
    background: #040a12 !important;
    position: relative;
}

/* Neon top line */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #47b6e4 25%, #00eeff 50%, #47b6e4 75%, transparent 100%);
    opacity: 0.5;
}

/* Scrolling ticker */
.footer-ticker {
    overflow: hidden;
    border-bottom: 1px solid rgba(71,182,228,0.1);
    background: rgba(0,0,0,0.3);
    padding: 8px 0;
}
.ticker-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    animation: tickerScroll 28s linear infinite;
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.ticker-track span         { color: rgba(71,182,228,0.4); white-space: nowrap; }
.ticker-track span:nth-child(even) { color: rgba(71,182,228,0.2); }

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.footer-ticker:hover .ticker-track { animation-play-state: paused; }

/* Footer name glow */
.first-name { text-shadow: 0 0 20px rgba(255,255,255,0.15); }
.last-name  { text-shadow: 4px 4px 12px rgba(0,0,0,0.6), 0 0 30px rgba(71,182,228,0.2); }

/* Copyright: terminal style */
.copyright {
    font-family: 'Courier New', monospace !important;
    font-size: 0.65rem !important;
    letter-spacing: 2px;
    color: rgba(71,182,228,0.25) !important;
    opacity: 1 !important;
}
.copyright::before { content: '// '; color: rgba(71,182,228,0.15); }

/* ═══════════════════════════════════
   SECTION TITLE ACCENT
═══════════════════════════════════ */
.about-text .section-title::after,
.skills-section-header .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--c-bright), transparent);
    margin: 10px auto 0;
}

/* ═══════════════════════════════════
   SKILL CARD FRONTS — scan overlay
═══════════════════════════════════ */
.skill-image .card-front::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(71,182,228,0.03) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
    animation: panelScan 6s linear infinite;
}
@keyframes panelScan {
    0%   { background-position: 0 -100%; }
    100% { background-position: 0 200%; }
}

/* ═══════════════════════════════════
   ABOUT SECTION TEXT FADE — keep working
═══════════════════════════════════ */
.about-container:has(.orbit-img:hover) .about-text {
    opacity: 0.15;
}
/* =================================== RESUME PAGE =================================== */
.resume-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 140px 20px 40px;
    flex-grow: 1;
    text-align: center;
}

.resume-container h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(1.5rem, 5vw, 3rem);
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
}

.resume-container iframe {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    border: 1px solid rgba(71, 182, 228, 0.3);
    border-radius: 6px;
    background: #060d17;
}

.resume-container p {
    margin-top: 12px;
    font-size: 1rem;
    color: #a0b4c0;
}

.resume-container p a {
    color: #47b6e4;
    text-decoration: none;
}

.resume-container p a:hover {
    text-decoration: underline;
}

@media (min-width: 835px) {
    .resume-container {
        padding: 180px 40px 60px;
    }

    .resume-container iframe {
        height: 1000px;
    }
}
