* {
    padding: 0;
    margin: 0;
}

body {
    background-color: #0B1220;
      
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

.home,
.about,
.skill,
.education,
.contact {
    scroll-margin-top: 110px;
}


.header {
    background-color: rgb(9, 17, 35);
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    position: fixed;
    box-sizing: border-box;

}

.header.header-scrolled {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.header img{
    width: 240px;
    height: auto;
    object-fit: contain;
    margin-left: 50px;
    
}

.navbar {
    color: #94A3B8;
    background-color: transparent;
    margin-right: 40px;
    padding: 15px 20px 15px 50px;
    justify-content: space-between;
    font-size: 20px;
    font-family: sans-serif, system-ui, ;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%;
    border-bottom: 1px solid rgba(0, 171, 240, 0.1);

}

.navbar a {
    background-color: transparent;
    color: #94A3B8;
    margin: 5px 5px 5px 5px;
    padding: 5px 5px 5px 5px;
    text-decoration: none;
}

.navbar a:hover {
    color: #22D3EE;
}

.navbar a.active {
    color: #22D3EE;
}


.home-content {
    background-color: transparent;
    /* background-image: i; */
    margin-right: 10px;
    padding-left: 90px;
    margin-top: 150px;
    width: min(700px, 100%);
    color: #F8FAFC;

}

.home {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-left: 10px;
    padding-right: 40px;
    box-sizing: border-box;
    background-image: url(heroimg.webp);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    overflow: hidden;
    
    

}

.Madara {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 80px;
    width: 460px;
    height: 680px;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid #414752;
    margin-right: 50px;

    
}


.Madara img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.08) saturate(1.05);

    
}


.home-content h1 {
    font-size: 80px;
    width: 800px;
    font-weight: 1200;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #F8FAFC;

}


.home-content h3 {
    font-size: 32px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    color: #22D3EE;
}

.home-content p {
    font-size: 24px;
    font-weight: 400;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-top: 10px;
    margin-bottom: 60px;
    width: 500px;
    color: #94A3B8;
}

.home-content .btn-box {
    display: flex;
    justify-content: space-between;
    width: 345px;
    height: 50px;
    background-color: transparent;
}

.btn-box a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    background-color: #22D3EE;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 19px;
    color: black;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 900;


}


.btn-box a:nth-child(2) {
    background: #22D3EE;
    color: black;

}

.btn-box a:nth-child(1) {
    background: #22D3EE;
    color: black;

}

.btn-box a:hover {
    background-color: #22D3EE;
    transition: #081b29;
    transition: 1s;
    color: black;

}

.home-sci {
    position:relative;
    width: 350px;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    margin-left: 870px;
    padding: 15px;
    background: #171C29;
    border: 1px solid #414752;
    border-radius: 50px 0 0 50px;
    z-index: 10;

}


.home-sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: #101521;
    border: 1.8px solid #414752;
    border-radius: 50%;
    font-size: 20px;
    color: white;
    text-decoration: none;

}

.home-sci a:nth-child(1) {
    background: #101521;
    color: white;

}

.home-sci a:hover {
    background-color: #1a2f4a;
    transition: #081b29;
    transition: 1s;
    color: black;

}

.about {
    padding: 100px 10%;
    background: transparent;
    color: #A9ADB8;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(0, 171, 240, 0.1);
    border-bottom: 1px solid rgba(0, 171, 240, 0.1);
}

.about::before {
    content: none;
}

.aboutwrap,
.heading2,
.aboutpic,
.abouttext {
    position: relative;
    z-index: 1;
}

.heading2 {
    font-size: 45px;
    margin-bottom: 40px;
    color: #d0d4db;
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 800;
}

.heading2 span {
    color: #00abf0;
}

.about .heading2 span {
    color: #d0d4db;

}

.aboutwrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    width: 100%;
    max-width: 1200px;
    margin-top: 30px;
}

.aboutpic {
    width: 460px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    padding-right: 40px;
    box-sizing: border-box;
}

.aboutpic img {
    width: 100%;
    height: auto;
    max-height: 560px;
    border-radius: 20px;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    filter: brightness(1.05) contrast(1.05);
    background: rgba(255, 255, 255, 0.03);
    margin-right: 370px;

}

.abouttext {
    flex: 1;
}

.abouttext h3 {
    font-size: 56px;
    color: #FEC544;
    margin-bottom: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 900;
    letter-spacing: 0.01em;
    height: 80px;
    width: 850px;
}

.abouttext p {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #A9ADB8;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 600;
    width: 660px;
}


.aboutpara {
    margin-bottom: 22px;
}

.abouttext strong {
    color: #d0d4db;
}

.aboutlist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.aboutlist p {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    font-size: 26px;
    color: #d0d4db;
}

.aboutlist i {
    color: #FEC544;
    font-size: 44px;
    margin-right: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #FEC544;
    color: #070d1b;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border-radius: 30px;
    transition: 0.3s;
    font-family: 'Courier New', Courier, monospace;
    font-size: x-large;
}



@media (max-width: 480px) {
    .aboutwrap {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .aboutpic {
        padding-right: 0;
    }

    .aboutlist {
        text-align: left;
    }

    .aboutlist p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .aboutlist {
        grid-template-columns: 1fr;
    }
}


.skill {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgb(7, 13, 27) 0%, rgb(10, 18, 35) 100%);
    position: relative;
    border-bottom: 1px solid rgba(0, 171, 240, 0.1);
}

.skill-content {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    z-index: 1;
}

.box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
}

.skill-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(254, 197, 68, 0.35);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    width: 200px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.skill-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 171, 240, 0.18);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}


.skill-item i {
    font-size: 60px;
    color: #FEC544;
    background: rgba(254, 197, 68, 0.10);
    border: 1px solid rgba(254, 197, 68, 0.28);
    border-radius: 16px;
    padding: 8px 12px;
    position: relative;
}



.skill-item:hover i {
    color: #00abf0;
    background: rgba(254, 197, 68, 0.10);
    background-color: rgba(0, 171, 240, 0.10);
    border-color: rgba(0, 171, 240, 0.10);
}

.skill-label {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #d0d4db;
    letter-spacing: 0.01em;
}


.education {
    padding: 75px 0;
    width: 100%;
    background: linear-gradient(135deg, rgb(7, 13, 27) 0%, rgb(10, 18, 35) 50%, rgb(7, 13, 27) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    border-bottom: 1px solid #414752;
}

.education h2.heading2 {
    margin-bottom: 90px;
}

.education-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
}

.education-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid #414752;
    
}


.education-icon {
    width: 80px;
    height: 80px;
    background: #FEC544;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.education-icon i {
    font-size: 22px;
    color: #8d95a5;
}

.education-content h3 {
    color: #00abf0;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.education-content h4 {
    color: #FEC544;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.education-year {
    color: #A9ADB8;
    font-size: 14px;
    font-weight: 500;
    background: rgba(0, 171, 240, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 171, 240, 0.3);
    display: inline-block;
    margin-bottom: 15px;
}

.education-content p {
    color: #d0d4db;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}


.contact {
    min-height: 100vh;
    padding: 110px 0 40px;
    width: 100%;
    background: linear-gradient(135deg, rgb(7, 13, 27) 0%, rgb(10, 18, 35) 50%, rgb(7, 13, 27) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    position: relative;
}

.contact .heading2 {
    margin-bottom: 100px;
    margin-top: 0;
}

.contact-main {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    width: 100%;
    align-items: flex-start;
    position: relative;
    z-index: 3;
    padding: 0 30px;
    box-sizing: border-box;
}

.contact-form-section {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    
}

.contact-form-section h3 {
    color: #22D3EE;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #F8FAFC;
    font-size: 16px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 15px;
    color: #d0d4db;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #5a6270;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00abf0;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(0, 171, 240, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #FEC544);
    border: none;
    border-radius: 8px;
    padding: 14px 30px;
    color: black;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 200, 28, 0.3);
}

.submit-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: #00abf0;
    box-shadow: 0 10px 30px rgba(0, 171, 240, 0.2);
}

.contact-item i {
    font-size: 40px;
    color: #00abf0;
    margin-bottom: 20px;
    display: block;
    transition: color 0.3s ease;
}

.contact-item:hover i {
    color: #FEC544;
}

.contact-info h3 {
    color: #00abf0;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item:hover .contact-info h3 {
    color: #FEC544;
}

.contact-info p {
    color: #A9ADB8;
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.contact-info p a {
    color: #A9ADB8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info p a:hover {
    color: #00abf0;
}

.footer {
    width: 100%;
    background: linear-gradient(180deg, #07152b 0%, #08101f 100%);
    border-top: 1px solid rgba(0, 171, 240, 0.18);
    padding: 0 24px;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0 20px;
}

.footer-top-line {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgb(254, 198, 68), transparent);
}

.footer-brand h3 {
    color: #d0d4db;
    font-size: 24px;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.footer-brand-name {
    color: #b388ff;
}

.footer-brand p {
    color: #A9ADB8;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    text-decoration: none;
    color: #A9ADB8;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #FEC544;
    border-color: rgba(254, 197, 68, 0.5);
    background: rgba(254, 197, 68, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(254, 197, 68, 0.18);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(169, 173, 184, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #A9ADB8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: #00abf0;
    color: #00abf0;
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 0 24px;
    border-top: 1px solid rgba(169, 173, 184, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    color: #8d95a5;
    font-size: 13px;
}

.back-to-top {
    color: #d0d4db;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 171, 240, 0.45);
    background: rgba(0, 171, 240, 0.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    color: #00abf0;
    border-color: #b388ff;
    background: rgba(232, 68, 254, 0.18);
    transform: translateY(-2px);
}

.back-to-top i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

.back-to-top.show-back-to-top {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}


