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

body {
    
    color: white;
    font-family: "Inter", sans-serif;
    background-color: #050505;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
}


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

.navbar {
    width: 100%;
    height: 70px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position:sticky;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(12px);
}

.logo {
    color: white;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 3px;
    transition: 0.2s;
}

.logo:hover {
    color: #ff2020;
    transform: scale(1.02);
}

.logo span {
    color: #ff2020;
    transform: scale(1.02);
    transition: 0.2s;
}


.logo:hover span {
    color: white;
    transform: scale(1.02);
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    color: #888;
    font-size: 12px;
    letter-spacing: 2px;
    transition: 0.3s;
}

nav a:hover{
    color: white;
}

.nav-connect-btn {
    padding: 12px 20px;
    border: 1px solid #444;
    font-size: 11px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-connect-btn:hover {
    background-color: #ff2020;
    border-color: #ff2020;
}

.hero-section {
    height: calc(100vh - 70px);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('./Images/background-dotted.png');
    background-position: center;
}

.hero-content {
    width: 90%;
    max-width: 900px;
}

.hero-label {
    color: #ff2020;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 130px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
    color: white;
}
.hero-content h1 b {
    color: #ff2020;
}
.hero-role {
    margin-top: 20px;
    color: #aaa;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 22px;
}

.hero-role span {
    color: #ff2020;
    margin: 0 15px;
}

.hero-description {
    max-width: 600px;
    margin: 30px auto 0;
    color: #777;
    font-size: 14px;
    line-height: 1.8;
}

.hero-description b {
    color: white;
}

.hero-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 25px;
    background-color: white;
    color: black;
    border-radius: 25px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
}

.hero-btn span {
    margin-left: 12px;
    color: #ff2020;
}

.hero-btn:hover {
    background-color: #ff2020;
    color: white;
    transform: translateY(-3px);
}

.hero-btn:hover span {
    color: white;
}

.section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -70px;

}
.section-header p {
    color: #888;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 4px;
    
    gap: 12px;
}
.section-header h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 100px;
    line-height: 0.8;
    margin-top: 15px;
    letter-spacing: -3px;
    display: flex;
    justify-content: center;
    align-items: space-around;
}

.section-header h2 b {
    color: #ff2020;
}
.about-section {
    
    height: 100vh;
    padding: 120px 7%;
    position: relative;
    overflow: hidden;
}





.about-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
    

}

.about-image {
    width: 400px;
    height: 500px;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #333;
    border-radius: 10px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    filter: grayscale(100%);
    transition: 0.5s;
}

.about-image img:hover {
    filter: grayscale(0%);
    
    transform: scale(1.03);
}

.about-text {
    max-width: 600px;
}

.about-heading {
    color: white;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 38px;
    line-height: 1;
    margin-bottom: 25px;
}

.about-heading b {
    color: #ff2020;
}
.about-personality {
    display: flex;
    gap: 60px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #222;
}

.about-personality h3 {
    color: #ff2020;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 30px;
}

.about-personality p {
    color: #555;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: 3px;
}

.skills-section {
    min-height: 100vh;
    padding: 120px 7%;
    position: relative;
    overflow: hidden;
}
.skills-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.skill-card {
    min-height: 420px;
    padding: 35px 30px;
    border: 1px solid #252525;
    background-color: rgba(10, 10, 10, 0.7);
    transition: 0.3s;
}

.skill-card:hover {
    border-color: #ff2020;
    transform: translateY(-8px);
}

.skill-number {
    color: #ff2020;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 30px;
    margin-bottom: 30px;
}

.skill-card h3 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.skill-card p {
    color: #777;
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.skill {
    margin-bottom: 22px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    color: #aaa;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.skill-name span:last-child {
    color: #555;
}

.skill-line {
    width: 100%;
    height: 2px;
    background-color: #252525;
}

.skill-line span {
    display: block;
    height: 100%;
    background-color: #ff2020;
}
.projects-section {
    min-height: 100vh;
    padding: 140px 7%;
    position: relative;
    overflow: hidden;
    background-color: #050505;
}

.projects-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 30px;
}

.project-card {
    position: relative;
}

.project-image {
    height: 400px;
    position: relative;
    overflow: hidden;
    background-color: #111;
    border: 1px solid #222;
    border-radius: 10px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.5s;
}

.project-image span {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 30px;
    font-weight: 800;
    z-index: 2;
}

.project-card:hover .project-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.project-card:hover .project-image {
    border-color: #ff2020;
}

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 20px;
    border-top: 1px solid #222;
    margin-top: 15px;
}

.project-info p {
    color: #777;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.project-info h3 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 38px;
    line-height: 0.85;
    letter-spacing: -1px;
}

.project-info a {
    color: #999;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 2px;
    transition: 0.3s;
}

.project-info a:hover {
    color: #ff2020;
}

.connect-section {
    min-height: 100vh;
    padding: 140px 7% 40px;
    position: relative;
    overflow: hidden;
    background-color: #050505;
    display: flex;
    
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.connect-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.connect-small {
    color: #777;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 20px;
}



.connect-content h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 130px;
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -4px;
}

.connect-content h2 b {
    color: #ff2020;
}

.connect-description {
    width: 450px;
    color: #777;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 35px;
}

.connect-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 35px;
    padding: 17px 25px;
    background-color: #ff2020;
    color: white;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    transition: 0.3s;
}

.connect-btn span {
    margin-left: 30px;
    font-size: 16px;
}

.connect-btn:hover {
    background-color: white;
    color: black;
    transform: translateY(-5px);
}

.contact-form {
    width: 700px;
    max-width: 100%;
    
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}
.form-group label {
    color: #777;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 10px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #333;
    outline: none;
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    transition: 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #444;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #ff2020;
}
.form-group textarea {
    height: 100px;
    resize: vertical;
}
.contact-form .connect-btn {
    border: none;
    cursor: pointer;
}



.connect-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px 25px;
    border-top: 1px solid #222;
    color: #555;
    font-size: 9px;
    letter-spacing: 2px;
}

.connect-footer div {
    display: flex;
    gap: 30px;
}

.connect-footer a {
    color: #777;
    text-decoration: none;
    transition: 0.3s;
}

.connect-footer a:hover {
    color: #ff2020;
}



@media (max-width: 1000px) {
    .navbar {
        padding: 0 5%;
    }

    nav {
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 100px;
    }

    .about-content {
        gap: 40px;
    }

    .about-image {
        width: 320px;
        height: 430px;
    }

    .skills-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .skill-card:last-child {
        grid-column: 1 / 3;
    }

    .project-image {
        height: 350px;
    }

    .connect-content h2 {
        font-size: 100px;
    }
    .contact-form{
        width:38%;
    }
}

@media (max-width: 750px) {
    .navbar {
        height: 65px;
        padding: 0 5%;
    }

    .logo {
        font-size: 22px;
        letter-spacing: 2px;
    }

    nav {
        display: none;
    }

    .nav-connect-btn {
        padding: 10px 15px;
    }

    .hero-section {
        height: calc(100vh - 65px);
        min-height: 550px;
        padding: 40px 20px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-label {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .hero-content h1 {
        font-size: 75px;
        letter-spacing: -3px;
    }

    .hero-role {
        font-size: 19px;
    }

    .hero-role span {
        margin: 0 8px;
    }

    .hero-description {
        width: 90%;
        font-size: 12px;
    }

    .section-header {
        top: 0;
        margin-bottom: 50px;
    }

    .section-header h2 {
        font-size: 70px;
    }

    .about-section {
        height: auto;
        min-height: 100vh;
        padding: 100px 7%;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-image {
        width: 100%;
        max-width: 450px;
        height: 400px;
    }

    .about-text {
        width: 100%;
    }

    .about-heading {
        font-size: 32px;
    }

    .about-personality {
        gap: 40px;
    }

    .skills-section {
        min-height: auto;
        padding: 100px 7%;
    }

    .skills-content {
        grid-template-columns: 1fr;
    }

    .skill-card:last-child {
        grid-column: auto;
    }

    .skill-card {
        min-height: auto;
    }

    .projects-section {
        min-height: auto;
        padding: 100px 7%;
    }

    .projects-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .project-image {
        height: 350px;
    }

    .project-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .connect-section {
        min-height: 100vh;
        padding: 100px 7% 30px;
        flex-direction: column;
    }

    .connect-content {
        width: 100%;
    }

    .connect-content h2 {
        font-size: 80px;
    }

    .connect-description {
        width: 100%;
        max-width: 500px;
    }

    .contact-form {
        width: 100%;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .connect-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .connect-footer div {
        gap: 20px;
    }
}

@media (max-width: 500px) {
    body {
        background-size: 45px 45px;
    }

    .navbar {
        height: 60px;
    }

    .logo {
        font-size: 19px;
    }

    .nav-connect-btn {
        padding: 9px 12px;
        font-size: 9px;
    }

    .hero-section {
        height: calc(100vh - 60px);
        min-height: 500px;
        padding: 30px 15px;
    }

    .hero-label {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .hero-content h1 {
        font-size: 55px;
        letter-spacing: -2px;
    }

    .hero-role {
        font-size: 17px;
    }

    .hero-description {
        font-size: 11px;
        line-height: 1.7;
    }

    .hero-btn {
        padding: 14px 20px;
        font-size: 10px;
    }

    .section-header h2 {
        font-size: 55px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .about-section,
    .skills-section,
    .projects-section {
        padding: 80px 6%;
    }

    .about-image {
        height: 330px;
    }

    .about-heading {
        font-size: 28px;
    }

    .about-text p {
        font-size: 12px;
        line-height: 1.8;
    }

    .about-personality {
        gap: 25px;
    }

    .skill-card {
        padding: 30px 25px;
    }

    .skill-card h3 {
        font-size: 25px;
    }

    .project-image {
        height: 280px;
    }

    .project-info h3 {
        font-size: 32px;
    }

    .connect-section {
        flex-direction: column;
        padding: 80px 6% 25px;
    }

    .connect-content h2 {
        font-size: 60px;
        letter-spacing: -2px;
    }

    .connect-description {
        font-size: 12px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 11px;
    }
    .contact-form {
        margin-top: 35px;
    }

    .connect-footer {
        font-size: 8px;
    }

    .connect-footer div {
        flex-wrap: wrap;
        gap: 15px;
    }
}

.hero-role b {
    color: #aaa;
    animation: developerGlow 2s ease-in-out infinite;
}

@keyframes developerGlow {
    0%, 100% {
        color: #aaa;
        text-shadow: none;
    }
    50% {
        color: white;
        text-shadow: 0 0 12px rgba(254, 253, 253, 0.6);
    }
}