@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
/* General Styles */
body {
    font-family: 'Share Tech Mono', 'Roboto Mono', monospace;
    color: #00ff00;
    margin: 0;
    padding: 0;
    background-color: #000;
    overflow-x: hidden;
    position: relative;
}

/* Matrix Rain Canvas Layer */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3; /* behind .background */
    pointer-events: none;
}

/* Matrix GIF Background disabled for pure canvas effect */
.background { display: none !important; }

/* Gradient Network Connection Background (CSS-only) */
.use-gradient-network .background {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    /* layered gradients: base dark gradient + criss-cross lines + soft glow spots */
    background-image:
        radial-gradient(circle at 18% 30%, rgba(0, 255, 170, 0.18), transparent 38%),
        radial-gradient(circle at 78% 62%, rgba(0, 255, 0, 0.14), transparent 42%),
        radial-gradient(circle at 86% 22%, rgba(255, 200, 0, 0.10), transparent 34%),
        linear-gradient(115deg, #030b10 0%, #071a22 38%, #091d15 68%, #141809 100%),
        repeating-linear-gradient(60deg, rgba(0, 255, 160, 0.085) 0 1px, transparent 1px 58px),
        repeating-linear-gradient(120deg, rgba(0, 210, 255, 0.07) 0 1px, transparent 1px 58px);
    background-blend-mode: screen, screen, screen, normal, overlay, overlay;
}

.use-gradient-network .background::after {
    content: "";
    position: absolute;
    inset: 0;
    /* dotted nodes overlay */
    background-image: radial-gradient(rgba(0, 255, 160, 0.20) 1px, transparent 1.2px);
    background-size: 64px 64px;
    opacity: 0.35;
    pointer-events: none;
}

/* Hide the matrix canvas when gradient network background is active */
.use-gradient-network #matrix-canvas { display: none !important; }

/* Subtle CRT scanlines overlay */
.scanlines::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.02) 0px,
        rgba(255, 255, 255, 0.02) 1px,
        transparent 2px,
        transparent 4px
    );
    z-index: -1;
}

@keyframes fadeInBackground {
    to {
        opacity: 0.3; 
    }
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    color: #00ff00;
    text-shadow: 0 0 6px rgba(0,255,0,0.6), 0 0 14px rgba(0,255,0,0.4);
}

a {
    color: #00ff00;
    text-decoration: none;
    text-shadow: 0 0 6px rgba(0,255,0,0.4);
}

a:hover {
    text-decoration: underline;
}

/* Dropping Section */
.dropping-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: none; /* No background initially */
}

/* Dropping Point Animation */
.dropping-point {
    position: absolute;
    top: -50px;
    left: 50%;
    width: 10px;
    height: 10px;
  background: #00ff00;
    border-radius: 50%;
  animation: dropPoint 1s forwards, growPoint 1s 1s forwards;
}

@keyframes dropPoint {
    to {
        top: 50%;
    }
}

@keyframes growPoint {
    to {
        width: 300px;
        height: 300px;
        top: calc(50% - 150px);
        left: calc(50% - 150px);
    }
}

/* Circle with Profile Image */
.circle-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 4px solid #00ff00;
    overflow: hidden;
    opacity: 0;
    animation: fadeInCircle 1s 2s forwards, glow 2s infinite alternate;
}

@keyframes fadeInCircle {
    to {
        opacity: 1;
    }
}


.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes fadeInCircle {
    to {
        opacity: 1;
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 10px #00ff00;
    }
    100% {
        box-shadow: 0 0 30px #00ff00;
    }
}

/* Name and Titles */
.title-container {
    position: absolute;
    top: calc(50% + 190px);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    animation: fadeInTitle 0.8s 2.6s forwards ease-out;
}

.heading-box {
    display: inline-block;
    padding: 12px 18px;
    border: 2px solid #00ff00;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 10px rgba(0,255,0,0.5), inset 0 0 12px rgba(0,255,0,0.2);
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    animation: headingEnter 0.9s 3.2s cubic-bezier(.2,.9,.2,1) forwards;
}

.name {
    font-size: 2.7em;
    margin: 0;
    color: #00ff00;
    letter-spacing: 0.5px;
    overflow: hidden; /* Ensures the text is hidden initially */
    white-space: nowrap; /* Keeps the text in a single line */
    border-right: 0.15em solid transparent; /* Hide cursor in new design */
    opacity: 0; /* Hide the name initially */
    animation:
        fadeIn 0.1s 3.3s forwards,
        typing 2.4s 3.3s steps(40, end);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: #00ff00;
    }
}

.titles {
    font-size: 1.05em;
    margin: 8px 0 0;
    color: #bfffbf;
    opacity: 0; /* Hide the titles initially */
    animation: fadeInTitle 0.8s 5.7s forwards; /* Quicker, earlier */
}

@keyframes fadeInTitle {
    to {
        opacity: 1; /* Fully visible */
    }
}

@keyframes headingEnter {
    0% { opacity: 0; transform: translateY(18px) scale(0.96); }
    60% { opacity: 1; transform: translateY(0) scale(1.01); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Bio Card */
.bio-card {
    width: 80%;
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: #111;
    border: 2px solid #00ff00; /* Matrix green border */
    border-radius: 10px;
    text-align: left;
    color: #ffffff; /* Purple text */
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5); /* Glow effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bio-card:hover {
    transform: scale(1.02); /* Slight zoom on hover */
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8); /* Stronger glow on hover */
}


.bio-card p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.bio-card p:last-child {
    margin-bottom: 0; /* Remove margin for the last paragraph */
}

/* Quote Card */
.quote-card {
    width: 100%;
    background: rgba(17,17,17,0.9);
    border: 2px solid #00ff00;
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInQuote 0.8s 4s forwards;
}

.quote-text {
    font-size: 1.5em;
    font-style: italic;
    margin: 0 0 10px;
    color: #ffffff;
}

.quote-author {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
}

@keyframes fadeInQuote {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Action Card */
.action-card {
    width: 100%;
    background: rgba(13,13,13,0.9);
    border: 2px solid #00ff00;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInAction 0.8s 4.2s forwards ease-out;
}

.action-text {
    font-size: 1.2em;
    color: #ffffff;
    margin: 0 0 20px;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(180deg, #00ff66 0%, #00cc44 100%);
    color: #000;
    border: 0;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 6px 18px rgba(0,255,100,0.25), inset 0 0 0 rgba(0,0,0,0);
}

.action-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #5bff95 0%, #24e06d 100%);
    box-shadow: 0 10px 24px rgba(0,255,100,0.35), inset 0 0 18px rgba(255,255,255,0.05);
}

.action-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0,255,100,0.2), inset 0 0 10px rgba(0,0,0,0.25);
}

@keyframes fadeInAction {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



footer {
    text-align: center;
    padding: 20px;
    background: #111;
    border-top: 2px solid #00ff00;
    margin-top: 50px;
    color: #ffffff; 
}
/* Home Grid */
.home-grid {
    width: 80%;
    max-width: 1100px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 900px) {
    .home-grid {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Card polish */
.bio-card, .quote-card, .action-card {
    backdrop-filter: blur(2px);
    box-shadow: 0 10px 25px rgba(0,255,0,0.08), inset 0 0 0 rgba(255,255,255,0.02);
}
.bio-card:hover, .quote-card:hover, .action-card:hover {
    box-shadow: 0 14px 34px rgba(0,255,0,0.12), inset 0 0 0 rgba(255,255,255,0.04);
}

footer p {
    margin: 0 0 10px;
    font-size: 1em;
    color: #ffffff; 
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-button {
    padding: 10px 20px;
    background: #00ff00;
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.footer-button:hover {
    background: #24e06d;
    color: #061d06;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,255,100,0.25);
}


footer p {
    margin-top: 20px; 
    margin-bottom: 0; 
    font-size: 1em;
    color: #ffffff; 
}

/*-------------------------------------------------- ABOUT ME CSS CODE---------------------------------------------- */

.about-container {
    width: 80%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #111;
    border: 2px solid #00ff00;
    border-radius: 10px;
    text-align: center;
}

.about-container h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #00ff00;
}

/* About Me Text */
.about-text {
    text-align: left;
    margin-bottom: 40px;
}

.about-text p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 20px;
}

/* Image Cards */
.image-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.image-card {
    width: 300px;
    background: #222;
    border: 2px solid #0026ff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.image-card:hover {
    transform: scale(1.05);
}

.image-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.image-card p {
    font-size: 1em;
    color: #ffffff;
    margin: 0;
}

/* Unify image-card button hover contrast */
.image-card button {
    background-color: #00ff66;
    color: #071b07;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.image-card button:hover {
    background-color: #24e06d;
    color:#061d06;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,255,100,0.25);
}

/* Back to Home Button Container */
.back-to-home-container {
    text-align: center;
    margin-top: 40px;  
    margin-bottom: 20px; 
}

/* Back to Home Button */
.back-to-home {
    padding: 10px 20px;
    background: #00ff00;
    color: #000;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.back-to-home:hover{
    background: #00cc44;
    color: #051b05; /* keep text readable */
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,255,100,0.25);
}

.back-to-about:hover {
    background: #33b433;
}

/*back to about page*/
.back-to-about-container {
    text-align: center; 
    margin-top: 40px; 
    margin-bottom: 20px; 
}

/* Back to about Button */
.back-to-about {
    padding: 10px 20px;
    background: #00ff00;
    color: #000;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.back-to-about:hover {
    background: #00cc44;
    color: #051b05; /* keep text readable */
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,255,100,0.25);
}

.spacer {
    margin: 40px 0; 
}

/* Button layout helpers */
.button-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.button-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
@media (max-width: 600px) {
    .button-row { gap: 12px; }
    .button-col { gap: 10px; }
}

/*------------------------------------------------------programming page css-------------------------------------------------*/

/* Programming Container */
.programming-container {
    width: 80%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #111;
    border: 2px solid #00ff00;
    border-radius: 10px;
    text-align: center;
}

.programming-container h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #00ff00;
}

/* Intro Text */
.programming-container .intro-text {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 40px;
}

/* Languages Container */
.languages-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

/* Language Box */
.language-box {
    padding: 15px 30px;
    background: #222;
    border: 2px solid #00ff00;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s ease;
}

.language-box:hover {
    transform: scale(1.1);
}

/* Profile Links */
.profile-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.profile-button1 {
    padding: 10px 20px;
    background: #1ef0ff;
    color: #000;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.profile-button2 {
    padding: 10px 20px;
    background: #1ef0ff;
    color: #000;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.profile-button:hover {
    background: #00cc00;
}

/*------------------------------------------------------course page css-------------------------------------------------*/

/* Courses Container */
.courses-container {
    width: 80%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #111;
    border: 2px solid #00ff00;
    border-radius: 10px;
    text-align: center;
}

.courses-container h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #00ff00;
}

/* Introduction Section */
.intro-section {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0, 255, 0, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.intro-text {
    font-size: 1.2em;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

/* Course Categories */
.course-categories {
    margin-bottom: 50px;
}

.category-section {
    margin-bottom: 40px;
    text-align: left;
}

.category-title {
    font-size: 2.2em;
    color: #00ff00;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #00ff00;
    padding-bottom: 10px;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}

/* Course List */
.course-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

/* Course Box */
.course-box {
    width: 300px;
    background: #222;
    border: 2px solid #2600ff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.course-box:hover {
    transform: scale(1.05);
}

.course-box h3 {
    font-size: 1.2em;
    color: #00ff00;
    margin-bottom: 15px;
    font-weight: bold;
}

.course-provider {
    font-size: 1em;
    color: #1ef0ff;
    margin-bottom: 15px;
    font-weight: 600;
}

.course-description {
    font-size: 1em;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Course Button */
.course-button {
    display: inline-block;
    padding: 12px 24px;
    background: #1ef0ff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.course-button:hover {
    background: #00ff00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4);
}

/* Platforms Section */
.platforms-section {
    margin-top: 40px;
    padding: 20px;
    background: rgba(0, 255, 0, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.section-title {
    font-size: 2.2em;
    color: #00ff00;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}

.section-description {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 30px;
    opacity: 0.9;
}

.platform-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.platform-card {
    width: 300px;
    background: #222;
    border: 2px solid #2600ff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.platform-card:hover {
    transform: scale(1.05);
}

.platform-card h3 {
    font-size: 1.5em;
    color: #00ff00;
    margin-bottom: 15px;
}

.platform-card p {
    font-size: 1em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.5;
}

.platform-button {
    display: inline-block;
    padding: 12px 24px;
    background: #1ef0ff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-button:hover {
    background: #00ff00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4);
}

/* Practice Learning Platform Section */
.practice-platform-section {
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.vm-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.vm-card {
    width: 300px;
    background: #222;
    border: 2px solid #ff2600;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.vm-card:hover {
    transform: scale(1.05);
}

.vm-card h3 {
    font-size: 1.5em;
    color: #ff2600;
    margin-bottom: 15px;
    font-weight: bold;
}

.vm-description {
    font-size: 1em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.5;
}

.vm-details {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.vm-type, .vm-difficulty {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

.vm-type {
    background: rgba(255, 38, 0, 0.2);
    color: #ff6600;
    border: 1px solid #ff2600;
}

.vm-difficulty {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 1px solid #00ff00;
}

.vm-skills {
    font-size: 0.95em;
    color: #cccccc;
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .courses-container {
        width: 95%;
        padding: 20px;
    }
    
    .courses-container h1 {
        font-size: 2.2em;
    }
    
    .course-list {
        flex-direction: column;
        align-items: center;
    }
    
    .platform-links {
        flex-direction: column;
        align-items: center;
    }
    
    .vm-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .practice-platform-section {
        margin-top: 30px;
        padding: 15px;
    }
    
    .vm-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .category-title {
        font-size: 1.8em;
    }
    
    .section-title {
        font-size: 1.8em;
    }
}

/*------------------------------------------------------experience page css-------------------------------------------------*/

.experience-container {
    width: 80%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #111;
    border: 2px solid #00ff00;
    border-radius: 10px;
    text-align: center;
}

.experience-container h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #00ff00;
}

/* Experience Details */
.experience-details {
    text-align: left;
    margin-bottom: 40px;
}

.experience-details h2 {
    font-size: 2em;
    color: #1dff43;
    margin-bottom: 10px;
}

.experience-details p {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 20px;
}

.experience-details ul {
    list-style-type: disc;
    padding-left: 20px;
}

.experience-details li {
    font-size: 1.1em;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Image Card */
.experience-image-card {
    width: 100%;
    max-width: 600px;
    background: #222;
    border: 2px solid #0400ff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.experience-image-card:hover {
    transform: scale(1.05);
}

.experience-image-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.experience-image-card p {
    font-size: 1.1em;
    color: #ffffff;
    margin: 0;
}

/*------------------------------------------------------ctf page css-------------------------------------------------*/

/* CTF Container */
.ctf-container {
    width: 80%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #111;
    border: 2px solid #00ff00;
    border-radius: 10px;
    text-align: center;
}

.ctf-container h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #00ff00;
}

.ctf-container p{
    color: white;
}

/* Expertise Section */
.expertise-section {
    text-align: left;
    margin-bottom: 40px;
}

.expertise-section h2 {
    font-size: 2em;
    color: #00ff00;
    margin-bottom: 10px;
}

.expertise-section p {
    font-size: 1.2em;
    color: #e9e9e9;
    margin-bottom: 20px;
}

.expertise-section ul {
    list-style-type: disc;
    padding-left: 20px;
}

.expertise-section li {
    font-size: 1.1em;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Rankings Section */
.rankings-section {
    text-align: center;
}

.rankings-section h2 {
    font-size: 2em;
    color: #4400ff;
    margin-bottom: 20px;
}

.ranking-box {
    width: 80%;
    max-width: 600px;
    background: #222;
    border: 2px solid #0026ff;
    border-radius: 10px;
    padding: 20px;
    margin: 10px auto;
    transition: transform 0.3s ease;
}

.ranking-box:hover {
    transform: scale(1.05);
}

.ranking-box h3 {
    font-size: 1.5em;
    color: #00ff00;
    margin-bottom: 10px;
}

.ranking-box p {
    font-size: 1.1em;
    color: #ffffff;
    margin: 0;
}

/*------------------------------------------------------cirt page css-------------------------------------------------*/

/* Certificates Container */
.certificates-container {
    width: 80%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #111;
    border: 2px solid #00ff00;
    border-radius: 10px;
    text-align: center;
}

.certificates-container h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #00ff00;
}

/* Intro Text */
.intro-text {
    font-size: 1.2em;
    color: #fafafa;
    margin-bottom: 40px;
}

/* Certificates Grid */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Certificate Card */
.certificate-card {
    background: #222;
    border: 2px solid #0004ff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.certificate-card:hover {
    transform: scale(1.05);
}

.certificate-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.certificate-card p {
    font-size: 1.1em;
    color: #ffffff;
    margin: 0;
}

/*------------------------------------------------------project page css-------------------------------------------------*/

/* Projects Container */
.projects-container {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #111;
    border: 2px solid #00ff00;
    border-radius: 10px;
    text-align: center;
}

.projects-container h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #00ff00;
}

.projects-container h3 {
    font-size: 2 em;
    margin-bottom: 20px;
    color: #fdfffd;
    font-family: 'Courier New', Courier, monospace;
}

/* Project Card */
.project-card {
    width: 97%;
    background: #222;
    border: 2px solid #0026ff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
    transition: transform 0.3s ease;
    align-items: center;
}

.project-card:hover {
    transform: scale(1.02);
}

.project-card h2 {
    font-size: 2em;
    color: #00ff00;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 1.1em;
    color: #ffffff;
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 1.5em;
    color: #00ff00;
    margin-bottom: 10px;
}

.project-card ul {
    list-style-type: disc;
    padding-left: 20px;
}

.project-card li {
    font-size: 1em;
    color: #ffffff;
    margin-bottom: 10px;
}

/* GitHub Button */
.github-button {
    display: inline-block;
    padding: 10px 20px;
    background: #1ef0ff;
    color: #000;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.github-button:hover {
    background: #00cc00;
}

.project-card-profile{
    width: 97%;
    background: #222;
    border: 2px solid #fdfffd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    align-items: center;
} 

/* ----------------------navbar ------------------------*/

/* Floating Navbar */
.floating-nav {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1000;
  }
  
  .nav-toggle {
    width: 50px;
    height: 50px;
    background: #00ff00;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
  }
  
  .nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #000;
    margin: 3px 0;
    transition: all 0.3s ease;
  }
  
  .nav-menu {
    position: absolute;
    right: 0;
    background: #111;
    border: 2px solid #00ff00;
    border-radius: 10px;
    padding: 15px;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(-50%);
    top: 50%;
  }
  
  .nav-menu a {
    display: block;
    color: #00ff00;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
    white-space: nowrap;
  }
  
  .nav-menu a:hover {
    background: rgba(0, 255, 0, 0.2);
  }
  
  /* Active state */
  .floating-nav.active .nav-toggle {
    transform: rotate(90deg) translateY(-50%);
  }
  
  .floating-nav.active .nav-menu {
    width: 200px;
    height: auto;
    opacity: 1;
    padding: 70px 15px; 
  }
  
  /* Position first 4 links above toggle */
  .nav-menu a:nth-child(-n+4) {
    order: -1; /* Move to top */
    margin-bottom: 10px;
  }
  
  /* Position last 4 links below toggle */
  .nav-menu a:nth-child(n+5) {
    order: 1; /* Move to bottom */
    margin-top: 10px;
  }

/* --- Overrides: quote static, neon name reveal --- */
.quote-card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.name {
    font-size: 3.0em;
    color: #00ff8c;
    letter-spacing: 0.6px;
    border-right: 0; /* no typing cursor */
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    animation: nameReveal 1s 2.6s cubic-bezier(.2,.9,.2,1) forwards !important;
}

@keyframes nameReveal {
    0% { opacity: 0; transform: translateY(12px) scale(0.96); text-shadow: 0 0 0 rgba(0,255,140,0); }
    60% { opacity: 1; transform: translateY(0) scale(1.02); text-shadow: 0 0 16px rgba(0,255,140,0.5); }
    100% { opacity: 1; transform: translateY(0) scale(1); text-shadow: 0 0 8px rgba(0,255,140,0.35); }
}

:root{
    --bg-deep:#030b10;
    --bg-mid:#071a22;
    --bg-accent:#091d15;
    --neon:#00ff66;
    --neon-2:#00d0a0;
    --btn-text:#061d06;
    --text:#e6ffee;
}

body{ color: var(--text); }

/* Primary button token */
.button-primary{
    background: linear-gradient(180deg, var(--neon) 0%, var(--neon-2) 100%);
    color: var(--btn-text);
    border: 0;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(0,255,100,0.25);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.button-primary:hover{
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 10px 24px rgba(0,255,100,0.35);
}
.button-primary:active{
    transform: translateY(0);
}

/* Map existing buttons to the primary style */
.action-button,
.footer-button,
.back-to-home,
.back-to-about,
.github-button,
.profile-button1,
.profile-button2,
.course-button,
.platform-button { 
    background: linear-gradient(180deg, var(--neon) 0%, var(--neon-2) 100%) !important; 
    color: var(--btn-text) !important; 
    border: 0 !important; 
}

.footer-button:hover,
.back-to-home:hover,
.back-to-about:hover,
.action-button:hover,
.github-button:hover,
.profile-button1:hover,
.profile-button2:hover,
.course-button:hover,
.platform-button:hover{
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 10px 24px rgba(0,255,100,0.35);
}
