@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

a {
    color: #fff;
    text-decoration: none;
}

.navbar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    animation: show-content 1.5s linear forwards;
    animation-delay: 1.2s;
}

@keyframes show-content {
    100% {
        visibility: visible;
        opacity: 1;
    }
}

.navbar .logo {
    font-size: 30px;
    font-weight: 700;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    list-style: none;
    margin-left: 35px;
}

.navbar ul li a {
    font-size: 20px;
    font-weight: 500;
    transition: .5s;
    color: white;
    text-decoration: none;
}

.navbar ul li a:hover {
    color: #7cf03d;
}

.navbar ul li a.active {
    color: #7cf03d !important;
}

.home {
    display: flex;
    align-items: center;
    gap: 50px;
    height: 100vh;
    padding: 60px 9% 0;
    color: #fff;
    visibility: hidden;
    opacity: 0;
    animation: show-content 1.5s linear forwards;
    animation-delay: 1.6s;
}

.home-info h1 {
    font-size: 55px;
}

.home-info h2 {
    display: inline-block;
    font-size: 32px;
    margin-top: -10px;
}

.home-info h2 span {
    position: relative;
    display: inline-block;
    color: transparet;
    -webkit-text-stroke: .7px #7cf03d;
    animation: display-text 16s linear infinite;
    animation-delay: calc(-4s * var(--i));
}

@keyframes display-text {
    25%,100% {
        display: none;
    }
}

.home-info h2::before {
    content: attr(date-text);
    position: absolute;
    width: 0;
    border-right: 2px solid #7cf03d;
    color: #7cf03d;
    white-space: nowrap;
    overflow: hidden;
    animation: fill-text 4s linear infinite;
}

@keyframes fill-text {
    10%,
    100% {
        width: 0;
    }

    70%,
    90% {
        width: 100%;
    }
}

.home-info p {
    font-size: 16;
    margin: 10px 0 25px;
}

.home-info .btn-sci {
    display: flex;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 10px 30px;
    background: #7cf03d;
    border: 2px solid #7cf03d;
    border-radius: 40px;
    box-shadow: 0 0 10px #7cf03d;
    font-size: 16px;
    color: #1f242D;
    font-weight: 600;
    transition: .5s;
}

.btn:hover {
    background: transparent;
    color: #7cf03d;
    box-shadow: none;
}

.home-info .btn-sci .sci {
    margin-left: 20px;
}

.home-info .btn-sci .sci a {
    display: inline-flex;
    padding: 8px;
    border: 2px solid #7cf03d;
    border-radius: 50%;
    font-size: 20px;
    color: #7cf03d;
    margin: 0 8px;
    transition: .5s;
}

.home-info .btn-sci .sci a:hover {
    background: #7cf03d;
    color: #1f242D;
    box-shadow: 0 0 10px #7cf03d;
}

.home-img .img-box {
    position: relative;
    width: 32vw;
    height: 32vw;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.home-img .img-box::before,
.home-img .img-box::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: conic-gradient(transparent, transparent, transparent, #7cf03d);
    transform: rotate(0deg);
    animation: rotate-border 10s linear infinite;
}

.home-img .img-box::after {
    animation-delay: -5s;
}

@keyframes rotate-border {
    100% {
        transform: rotate(360deg);
    }
}

.home-img .img-box .img-item {
    position: relative;
    width: 100%;
    height: 100%;
    background: #1f242D;
    border-radius: 50%;
    border: .1 solid #1f242D;
    display: flex;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.home-img .img-box .img-item img {
    position: absolute;
    top: -10px;
    display: block;
    width: 85%;
    object-fit: cover;
    mix-blend-mode: lighten;
}

.bars-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: -1;
}

.bars-animation .bar {
    width: 100%;
    height: 100%;
    background: #1f242D;
    transform: translateY(-100%);
    animation: show-bars .5s ease-in-out forwards;
    animation-delay: calc(.1s * var(--i));
}

@keyframes show-bars {
    100% {
        transform: translateY(0%);
    }
}

section {
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #1f242D;
    color: white;
}

.about, .tech-stack, .experience, .projects, .certificates, .extracurricular, .contact {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

/* ===== About Section ===== */
.about {
    flex-direction: column;
    padding: 80px 0;
    min-height: 100vh;
    height: auto;
    overflow-y: auto;
}

.about-container {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    color: #7cf03d;
    font-size: 40px;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.about-content {
    text-align: left;
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px;
    padding-right: 30px;
    background: rgba(44, 52, 64, 0.5);
    border-radius: 15px;
    scrollbar-width: thin;
    scrollbar-color: #7cf03d #2c3440;
}

.about-content::-webkit-scrollbar {
    width: 8px;
}

.about-content::-webkit-scrollbar-track {
    background: #2c3440;
    border-radius: 10px;
}

.about-content::-webkit-scrollbar-thumb {
    background: #7cf03d;
    border-radius: 10px;
}

.about-content::-webkit-scrollbar-thumb:hover {
    background: #5cd020;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #ddd;
}

.about-content strong {
    color: #7cf03d;
}

@media (max-width: 768px) {
    .about-container {
        width: 90%;
    }
    
    .about-content {
        max-height: 65vh;
        padding: 15px;
        padding-right: 20px;
    }
    
    .about-content p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .about h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .about-container {
        width: 95%;
    }
    
    .about-content {
        max-height: 60vh;
        padding: 12px;
        padding-right: 15px;
    }
    
    .about-content p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .about h2 {
        font-size: 28px;
    }
}

/* ===== Tech Stack Styles ===== */
.tech-stack {
    flex-direction: column;
    padding: 80px 0;
    min-height: 100vh;
    height: auto;
}

.tech-stack h2 {
    margin-bottom: 40px;
    font-size: 40px;
    color: #7cf03d;
}

.tech-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-category {
    background: #2c3440;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.tech-category:hover {
    border-color: #7cf03d;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(124, 240, 61, 0.2);
}

.tech-category h3 {
    color: #7cf03d;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    justify-items: center;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #1f242d;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 180px;
}

.tech-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(124, 240, 61, 0.3);
    border: 1px solid #7cf03d;
}

.tech-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.tech-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.tech-item p {
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 768px) {
    .tech-items {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .tech-item img {
        width: 60px;
        height: 60px;
    }
    
    .tech-item p {
        font-size: 14px;
    }
}

/* ===== Experience Styles ===== */
.experience {
    flex-direction: column;
    padding: 80px 0;
    min-height: 100vh;
    height: auto;
}

.experience h2 {
    margin-bottom: 40px;
    font-size: 40px;
    color: #7cf03d;
}

.experience-container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0;
}

.experience-columns-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 10px 30px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.experience-columns-wrapper::-webkit-scrollbar {
    height: 6px;
}

.experience-columns-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.experience-columns-wrapper::-webkit-scrollbar-thumb {
    background: #7cf03d;
    border-radius: 3px;
}

.experience-column {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    scroll-snap-align: start;
}

.column-title {
    font-size: 24px;
    font-weight: 700;
    color: #7cf03d;
    padding: 15px 20px;
    background: #2c3440;
    border-radius: 10px;
    border-left: 4px solid #7cf03d;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 2;
}

.experience-card {
    background: #2c3440;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #3a4555;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(124, 240, 61, 0.2);
    border-color: #7cf03d;
}

.experience-card h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #7cf03d;
    padding-bottom: 10px;
}

.exp-detail {
    color: #ddd;
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.exp-detail span {
    color: #7cf03d;
    font-weight: 600;
    margin-right: 8px;
}

.description {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #3a4555;
    overflow-y: auto;
    max-height: 300px;
    flex-grow: 1;
    padding-right: 10px;
}

.description::-webkit-scrollbar {
    width: 6px;
}

.description::-webkit-scrollbar-track {
    background: transparent;
}

.description::-webkit-scrollbar-thumb {
    background: #7cf03d;
    border-radius: 10px;
}

.description p {
    color: #bbb;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 15px;
    position: relative;
}

.description p:before {
    content: "•";
    color: #7cf03d;
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    .experience-column {
        flex: 0 0 350px;
    }
    
    .experience-card {
        padding: 20px;
    }
    
    .column-title {
        font-size: 20px;
        padding: 12px 15px;
    }
    
    .experience-card h3 {
        font-size: 18px;
    }
    
    .exp-detail {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .experience-column {
        flex: 0 0 300px;
    }
    
    .experience-card {
        padding: 15px;
    }
    
    .column-title {
        font-size: 18px;
    }
    
    .description p {
        font-size: 14px;
    }
}

/* ===== Projects Section ===== */
.projects {
    flex-direction: column;
    padding: 80px 0;
    min-height: 100vh;
    height: auto;
}

.projects h2 {
    margin-bottom: 40px;
    font-size: 40px;
    color: #7cf03d;
    width: 100%;
    text-align: center;
}

.projects-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 30px;
    padding: 30px 20px 40px;
    width: 95%;
    margin: 0 auto;
    scroll-snap-type: none;
    scroll-behavior: auto;
    cursor: grab;
}

.projects-container:active {
    cursor: grabbing;
}

/* Hide scrollbar by default */
.projects-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.projects-container::-webkit-scrollbar {
    height: 0px;
    display: none;
}

/* Show scrollbar ONLY on hover - Original green style */
.projects-container:hover {
    scrollbar-width: thin;
}

.projects-container:hover::-webkit-scrollbar {
    height: 6px;
    display: block;
}

.projects-container:hover::-webkit-scrollbar-track {
    background: transparent;
}

.projects-container:hover::-webkit-scrollbar-thumb {
    background: #7cf03d;
    border-radius: 3px;
}

.project-card {
    flex: 0 0 320px;
    background: #2c3440;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #7cf03d;
    box-shadow: 0 10px 25px rgba(124, 240, 61, 0.2);
    background: #323d4a;
}

.project-card h3 {
    color: #7cf03d;
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.4;
    border-bottom: 1px solid #3a4555;
    padding-bottom: 10px;
}

.project-card p {
    color: #ddd;
    font-size: 16px;
    line-height: 1.5;
    margin: 8px 0;
}

.project-card a {
    display: inline-block;
    margin-top: 15px;
    color: #7cf03d;
    text-decoration: underline;
    font-weight: 500;
    transition: 0.3s;
}

.project-card a:hover {
    text-shadow: 0 0 8px rgba(124, 240, 61, 0.3);
    transform: translateX(3px);
}

/* ===== Certificates Section ===== */
.certificates {
    flex-direction: column;
    padding: 80px 0;
    min-height: 100vh;
    height: auto;
}

.certificates h2 {
    margin-bottom: 40px;
    font-size: 40px;
    color: #7cf03d;
    width: 100%;
    text-align: center;
}

.certificates-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 30px;
    padding: 30px 20px 40px;
    width: 95%;
    margin: 0 auto;
    scroll-snap-type: none;
    scroll-behavior: auto;
    cursor: grab;
}

.certificates-container:active {
    cursor: grabbing;
}

/* Hide scrollbar by default */
.certificates-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.certificates-container::-webkit-scrollbar {
    height: 0px;
    display: none;
}

/* Show scrollbar ONLY on hover - Original green style */
.certificates-container:hover {
    scrollbar-width: thin;
}

.certificates-container:hover::-webkit-scrollbar {
    height: 6px;
    display: block;
}

.certificates-container:hover::-webkit-scrollbar-track {
    background: transparent;
}

.certificates-container:hover::-webkit-scrollbar-thumb {
    background: #7cf03d;
    border-radius: 3px;
}

.certificate-card {
    flex: 0 0 320px;
    background: #2c3440;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.certificate-card:hover {
    transform: translateY(-5px);
    border-color: #7cf03d;
    box-shadow: 0 10px 25px rgba(124, 240, 61, 0.2);
    background: #323d4a;
}

.certificate-card h3 {
    color: #7cf03d;
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.4;
    border-bottom: 1px solid #3a4555;
    padding-bottom: 10px;
}

.certificate-card p {
    color: #ddd;
    font-size: 16px;
    line-height: 1.5;
    margin: 8px 0;
}

.certificate-card a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(124, 240, 61, 0.1);
    color: #7cf03d;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    border: 1px solid rgba(124, 240, 61, 0.3);
    transition: 0.3s;
    text-align: center;
}

.certificate-card a:hover {
    background: rgba(124, 240, 61, 0.2);
    border-color: #7cf03d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 240, 61, 0.3);
}

/* ===== Extracurricular Activities Styles ===== */
.extracurricular {
    flex-direction: column;
    padding: 80px 0;
    min-height: 100vh;
    height: auto;
}

.extracurricular h2 {
    margin-bottom: 40px;
    font-size: 40px;
    color: #7cf03d;
}

.extracurricular-container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0;
}

.extracurricular-columns-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 10px 30px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.extracurricular-columns-wrapper::-webkit-scrollbar {
    height: 6px;
}

.extracurricular-columns-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.extracurricular-columns-wrapper::-webkit-scrollbar-thumb {
    background: #7cf03d;
    border-radius: 3px;
}

.extracurricular-column {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    scroll-snap-align: start;
}

.activity-card {
    background: #2c3440;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #3a4555;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(124, 240, 61, 0.2);
    border-color: #7cf03d;
}

.activity-card h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #7cf03d;
    padding-bottom: 10px;
}

.activity-detail {
    color: #ddd;
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.activity-detail span {
    color: #7cf03d;
    font-weight: 600;
    margin-right: 8px;
}

.activity-card .view-btn {
    display: block;
    margin-top: 20px;
    padding: 8px 20px;
    background: rgba(124, 240, 61, 0.1);
    color: #7cf03d;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    border: 1px solid rgba(124, 240, 61, 0.3);
    transition: 0.3s;
    text-align: center;
    width: 100px;
    margin-left: auto;
    margin-right: auto;
}

.activity-card .view-btn:hover {
    background: rgba(124, 240, 61, 0.2);
    border-color: #7cf03d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 240, 61, 0.3);
}

@media (max-width: 768px) {
    .extracurricular-column {
        flex: 0 0 350px;
    }
    
    .activity-card {
        padding: 20px;
    }
    
    .activity-card h3 {
        font-size: 18px;
    }
    
    .activity-detail {
        font-size: 14px;
    }
    
    .activity-card .view-btn {
        padding: 7px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .extracurricular-column {
        flex: 0 0 300px;
    }
    
    .activity-card {
        padding: 15px;
    }
    
    .activity-card .view-btn {
        padding: 6px 14px;
        font-size: 13px;
    }
}

/* ===== Contact Section ===== */
.contact {
    flex-direction: column;
}

.contact h2 {
    color: #7cf03d !important;
}

.contact-container {
    width: 80%;
    max-width: 1000px;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: #2c3440;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: #aaa;
    pointer-events: none;
    transition: 0.3s;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background: #1f242D;
    padding: 0 5px;
    color: #7cf03d;
}

.contact-info {
    flex: 1;
    text-align: left;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #7cf03d;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.contact-social a {
    font-size: 24px;
    color: #7cf03d;
    transition: 0.3s;
}

.contact-social a:hover {
    transform: translateY(-5px);
}

.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        width: 90%;
    }
}

/* ===== Animations ===== */
@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.bx-breathe {
    animation: breathe 2s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.bx-wiggle {
    animation: wiggle 1.5s ease-in-out infinite;
    display: inline-block;
    transform-origin: center bottom;
}

@keyframes tada {
    0% { transform: scale(1); }
    10%, 20% { transform: scale(0.9) rotate(-3deg); }
    30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
    40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
    100% { transform: scale(1) rotate(0); }
}

.bx-tada {
    animation: tada 1.5s ease infinite;
    display: inline-block;
    transform-origin: center;
}

@keyframes whatsapp-flash {
    0%, 100% {
        transform: scale(1);
        color: #7cf03d;
        filter: drop-shadow(0 0 0 rgba(37, 211, 102, 0));
    }
    50% {
        transform: scale(1.1);
        color: #7cf03d;
        filter: drop-shadow(0 0 8px rgba(124, 240, 61, 0.8));
    }
}

.bxl-whatsapp.bx-flashing {
    animation: whatsapp-flash 1.8s ease-in-out infinite;
    display: inline-block;
}

.bxl-whatsapp {
    color: #7cf03d;
    transition: all 0.3s ease;
}

.bxl-whatsapp:hover {
    color: #7cf03d;
    transform: scale(1.1);
}

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
    .home {
        flex-direction: column;
        height: auto;
        padding: 100px 20px 50px;
        text-align: center;
    }

    .home-info {
        order: 2;
        margin-top: 30px;
    }

    .home-img {
        order: 1;
    }

    .home-img .img-box {
        width: 60vw;
        height: 60vw;
    }

    .home-info h1 {
        font-size: 40px;
    }

    .home-info h2 {
        font-size: 24px;
    }

    .btn-sci {
        flex-direction: column;
        align-items: center;
    }

    .btn-sci .sci {
        margin-left: 0;
        margin-top: 20px;
    }

    .navbar {
        padding: 15px 20px;
    }

    .navbar ul {
        display: none;
    }

    .projects-container,
    .certificates-container {
        width: 100%;
        padding: 15px;
    }

    .project-card,
    .certificate-card {
        flex: 0 0 280px;
    }
}

@media (max-width: 480px) {
    .home-info h1 {
        font-size: 32px;
    }

    .home-info h2 {
        font-size: 20px;
    }

    .home-info p {
        font-size: 14px;
    }

    .btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    .project-card,
    .certificate-card {
        flex: 0 0 250px;
        padding: 15px;
    }

    .form-group input, 
    .form-group textarea {
        padding: 12px;
    }
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #1f242D;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        z-index: 99;
    }

    .navbar ul.active {
        left: 0;
    }

    .navbar ul li {
        margin: 15px 0;
    }
}

/* Improve touch targets */
.btn, .project-card, .certificate-card {
    min-height: 44px;
}

/* Prevent text size adjustment on mobile */
html {
    -webkit-text-size-adjust: 100%;
}

/* Improve scrolling behavior on iOS */
body {
    -webkit-overflow-scrolling: touch;
}

/* Make sure inputs are readable on mobile */
input, textarea, select {
    font-size: 16px !important;
}

/* EDGE/CHROME GREEN SCROLLBAR - ONLY ON HOVER */
.projects-container,
.certificates-container {
    overflow-y: hidden !important;
    overflow-x: auto !important;
}

/* Hide scrollbar by default */
.projects-container,
.certificates-container {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.projects-container::-webkit-scrollbar,
.certificates-container::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

/* Show green scrollbar on hover */
.projects-container:hover,
.certificates-container:hover {
    scrollbar-width: thin !important;
    scrollbar-color: #7cf03d transparent !important;
}

.projects-container:hover::-webkit-scrollbar,
.certificates-container:hover::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important;
    background: transparent !important;
}

.projects-container:hover::-webkit-scrollbar-track,
.certificates-container:hover::-webkit-scrollbar-track {
    background: transparent !important;
}

.projects-container:hover::-webkit-scrollbar-thumb,
.certificates-container:hover::-webkit-scrollbar-thumb {
    background: #7cf03d !important;
    border-radius: 3px !important;
}

.projects-container:hover::-webkit-scrollbar-thumb:hover,
.certificates-container:hover::-webkit-scrollbar-thumb:hover {
    background: #5cd020 !important;
}