* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #ededed;
    background-color: #081b29;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 25px;
    color: #ededed;
    font-weight: 600;
    text-decoration: none;
    background-color: #00abf0;
    border-radius: 10px;
    padding: 5px;
}

.navbar a {
    font-size: 18px;
    color: #ededed;
    font-weight: 500;
    text-decoration: none;
    margin-left: 35px;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: #00abf0;
    text-decoration: underline;
}

.home {
    background: url('home.png') no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.home-content h1 {
    position: relative;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
}

.home-content h1::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}



.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #00abf0;
}

.home-content p {
    font-size: 20px;
    margin: 20px 0 40px;
}

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

.btn-box a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: #00abf0;
    border: 2px solid #00abf0;
    border-radius: 8px;
    font-size: 19px;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.btn-box a:nth-child(2) {
    background-color: transparent;
    color: #00abf0;
}

.btn-box a:nth-child(2)::before {
    background: #00abf0;
}

.btn-box a:nth-child(2):hover {
    color: #081b29;
    background: #00abf0;
}

.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    width: 0;
    left: 0;
    background-color: #081b29;
    height: 100%;
    z-index: -1;
    transition: .5s;
}

.home-sci {
    position: absolute;
    bottom: 40px;
    width: 170px;
    display: flex;
    justify-content: space-between;
}

.home-sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 40px;
    width: 40px;
    background: transparent;
    border: 2px solid #00abf0;
    border-radius: 50%;
    font-size: 20ps;
    color: #00abf0;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.home-sci a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    z-index: -1;
    transition: .5s;
    background: #00abf0;
}

.home-sci a:hover {
    color: #081b29;
}


.home-sci a:hover::before {
    width: 100%;
}

.home-image {
    position: absolute;
    top: 0;
    right: 30px;
    height: 100%;
    width: 820px;
    background: transparent;
}



.container {
    margin: auto;
    display: flex;
    justify-content: center;
    background: linear-gradient(to left, rgb(171, 199, 209), rgb(9, 38, 43));
}

.footer-content {
    width: 33.3%;
    color: #ededed;
}

h3 {
    font-size: 28px;
    text-align: center;
}

.footer-content p {
    width: 190px;
    margin: auto;
    padding: 7px;

}

.footer-content ul {
    justify-content: center;
}

.list {
    padding: 0;
    text-decoration: none;
}

.list li {
    width: auto;
    text-align: center;
    list-style-type: none;
    padding: 7px;
    position: relative;
}

.list li::before {
    content: '';
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    width: 0;
    right: 100%;
    height: 2px;
    background-color: orange;
    transition-duration: .5s;
}

.social-icons {
    text-align: center;
    padding: 0;
}

.social-icons i {
    font-size: 25px;
}

.social-icons li {
    text-align: center;
    display: inline-block;
    padding: 5px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background 0.3s;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.8);
}

.logo {
    font-size: 25px;
    color: #ededed;
    font-weight: 600;
    text-decoration: none;
    background-color: #00abf0;
    border-radius: 10px;
    padding: 5px 10px;
}

.navbar a {
    font-size: 18px;
    color: #ededed;
    font-weight: 500;
    text-decoration: none;
    margin-left: 35px;
    transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
    color: #00abf0;
}

/* ABOUT SECTION */
.about {
    width: 100%;
    padding: 120px 0 78px;
    background-color: #081b29;
}

.about img {
    height: 500px;
    width: 350px;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.tag {
    display: inline-block;
    margin: 4px;
    padding: 6px 12px;
    background: #0ea5e9;
    color: #fff;
    font-weight: 600;
    border-radius: 20px;
    font-size: 14px;
    transition: 0.3s;
}

.tag:hover {
    background: #0369a1;
    transform: scale(1.05);
}


.about-text {
    width: 550px;
}

.main {
    width: 1130px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.about-text h1 {
    font-size: 80px;
    text-transform: capitalize;
}

.about-text h5 {
    font-size: 25px;
    text-transform: capitalize;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

span {
    color: #4DA8DA;
}

.about-text p {
    color: #ededed;
    letter-spacing: 1px;
    line-height: 1.8;
    font-size: 18px;
    margin-bottom: 40px;
}

/* SKILLS SECTION */
.container {
    display: flex;
    justify-content: center;
    color: white;
    padding: 40px 10px;
    gap: 3rem;
    flex-wrap: wrap;
    background-color: #081b29;
}

.skills {
    padding: 20px;
    border: 2px solid #00abf0;
    border-radius: 12px;
    width: 250px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.skills:hover {
    transform: translateY(-5px);
}

h4 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #00abf0;
}

.skills ul {
    list-style: none;
    font-size: 20px;
    line-height: 1.6;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .main {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        width: 90%;
        margin-top: 20px;
    }

    .about img {
        width: 80%;
    }

    .container {
        flex-direction: column;
        gap: 2rem;
    }
}


.skill-block {
    height: 450px;
    background-color: #13354e;
    padding: 10px;
    /* color: #ededed;  */

}

.skill-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    color: black;
}

.skill-header {
    color: #ededed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 50px;
    font-size: 50px;
}


.skill-content {
    border-radius: 17px;
    /* box-shadow: 0 0 4px 4px rgba(72, 59, 59, 0.163); */
    padding: 25px;
    transform: rotate(3deg) scale(1.05);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
    background: linear-gradient(145deg, #ffffff, #f1f1f1);
    filter: blur(10px);
    transition: all 0.3s ease;

}

.skill-content:hover {
    /* box-shadow: 0 8px 25px rgb(149, 203, 221); */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    transform: translateY(-10px) scale(1.05);
    filter: blur(0);
    transform: scale(1.25);

}

.skill-img {
    height: 130px;
    width: 130px;
    display: flex;
    align-items: center;
    border-radius: 30px;

}

.project-text {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;

}

.project-block {
    margin-left: 10%;
    width: 1300px;
    margin-top: 80px;
    height: 600px;
    background-color: #1c4d6f;
    padding: 10px;
    border-radius: 50px;
}

.project-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    color: black;
}

.project-header {
    color: #ededed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 50px;
    font-size: 50px;
}


.project-content {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 0 4px 4px rgba(72, 59, 59, 0.163);
    padding: 25px;
    background-color: white;
    transition: all 0.20s ease-in-out;

}

.project-content:hover {
    /* box-shadow: 0 8px 25px rgb(149, 203, 221); */
    transform: scale(1.05);
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 153, 255, 0.7);
}

.project-img {
    height: 290px;
    width: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}

.project-content:hover img {
    filter: blur(3px);
    transform: scale(1.05);
}

.project-content:hover .overlay {
    opacity: 1;
    pointer-events: auto;
    /* allow clicks only on hover */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);

    pointer-events: none;
    /* 🔑 don't block cursor when hidden */
}


.view-btn {
    background: #00bfff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 30px;
}

.view-btn:hover {
    background: #0099cc;
}


.project-text {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;

}

.divider {
    width: 500px;
    height: 4px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    border-radius: 2px;
    margin-bottom: 15px;
}


.resume {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    margin-top: 50px;
    border-radius: 8px;
    padding: 10px;
    color: white;
    font-size: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 170, 255, 0.4);
    font-weight: 700;
}

.resume:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #0077ff, #00aaff);
    box-shadow: 0 6px 15px rgba(0, 170, 255, 0.6);
    cursor: pointer;
}

.image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: red;
}

.image img {
    width: 400px;
    align-items: center;
    margin-bottom: 70px;
}

.contactme {
    margin-top: 5%;
    align-items: center;
    flex-direction: column;
    display: flex;
    gap: 30px;
    padding: 50px;
    box-shadow: 10px;
    color: #081b29;
    background-color: #ededed;
}

input {
    padding: 10px;
    background-color: white;
    width: 30%;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 4px;

}

#yourmessgge {
    height: 50%;
    padding-bottom: 70px;
}

.message {
    padding: 8px;
    width: 7%;
    color: #ededed;
    background-color: rgba(0, 0, 0, 0.938);
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 4px;
}

.message:hover {
    cursor: pointer;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    color: #081b29;
}

.footer {
    width: 1300px;
    height: 250px;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    display: flex;
    justify-content: center;
    color: #ededed;
    /* padding: 10px; */
    align-items: center;
    flex-direction: column;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30%;
    border: none;
    gap: 10%;
}

.input-name {
    margin-top: 14px;
    margin-bottom: 30px;
    padding: 10px;
    width: 80%;
}

.input-email {
    margin-bottom: 30px;
    padding: 15px;
    width: 80%;
}

.input-message {
    margin-bottom: 30px;
    padding: 15px;
    width: 80%;
    height: 100px;
}

.contactme input::placeholder,
.contactme textarea::placeholder {
    font-weight: 800;
    font-size: 16px;
    font-style: italic;
    color: #aaa;
}

.contactme input,
.contactme textarea {
    font-weight: 800;
    font-size: 19px;
    font-style: italic;
    color: #030303c4;
}


.submitinput {
    padding: 13px;
    background-color: black;
    color: #ededed;
    font-size: 16px;
    font-style: italic;
    border-radius: 10px;
    font-weight: 800;
}

.submitinput:hover {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
}

.footer-title {
    font-size: 2rem;
    font-weight: 600;
    color: #ededed;

}

.footer-icons {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-para {
    margin-top: 20px;
}

.footer-end {
    margin-top: 20px;
}

.footer-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 40px;
    width: 40px;
    background: transparent;
    border: 2px solid #00abf0;
    border-radius: 50%;
    font-size: 20ps;
    color: #00abf0;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.footer-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    z-index: -1;
    transition: .5s;
    background: #00abf0;
}

.footer-icons a:hover {
    color: #081b29;
}


.footer-icons a:hover::before {
    width: 100%;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.5s ease;
}

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