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

body{
    font-family: 'Poppins', sans-serif;
    color: #fff;
}
.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;

}
.header .logo{
    position: relative;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.5s ease;
}
.header .logo:hover {
    color: #00abf0;
    transform: scale(1.05);
}

.navbar a{
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: all 0.3s ease;
    position: relative;
}
.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00abf0;
    transition: width 0.3s ease;
}
.navbar a:hover::after,
.navbar .active::after {
    width: 100%;
}
.home{
    display: flex;
    align-items: center;
    height: 100vh;
    background: url('lufy.png');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.home-imghover {
    display: none;
}

.home::before {
    display: none;
}

.home-content{
   
    max-width: 600px;
}
.home-content h1{
    
    font-size: 56px;
    font-weight:700;
    line-height: 1.2;
    animation: slideInLeft 1s ease forwards;
    opacity: 0;
    transform: translateX(-100px);
}

.home-content h3{
    font-size: 32px;
    font-weight: 700;
    color: #00abf0;
    animation: slideInRight 1s ease forwards 0.3s;
    opacity: 0;
    transform: translateX(100px);
}
.home-content p{
    font-size: 16px;
    margin: 20px 0 40px;
    animation: fadeInUp 1s ease forwards 0.6s;
    opacity: 0;
    transform: translateY(30px);
}
.home-content .btn-box{
    display: flex;
    justify-content: space-between;
    width: 345px;
    height: 50px;

}
.btn-box a{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background-color: #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: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


.btn-box a:hover{
    color: #00abf0;
}
.btn-box a:nth-child(2){
    background: transparent;
    color: #00abf0 ;
}
.btn-box a:nth-child(2):hover{
    color: #081b29;
}
.btn-box a:nth-child(2)::before{
    background-color: #00abf0;
}
.btn-box a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #081b29;
    z-index: -1;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-box a:hover::before{
    width: 100%;
}
.btn-box a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 171, 240, 0.3);
}
.home-sci{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    background: transparent;
    gap: 20px;
    z-index: 2;
}

    

.home-sci a{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #00abf0;
    border-radius: 50%;
    font-size: 20px;
    color: #00abf0;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.home-sci a:hover{
    color: #081b29;
}
.home-sci a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #00abf0;
    z-index: -1;
    transition: .5s;
}
.home-sci a:hover::before{
    width: 100%;
}
.home-sci a:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(0, 171, 240, 0.3);
}

.sharku{
    display: flex;
    color: #00abf0;
    font-size: 45px;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins';
    font-weight: 600;
}

.about {
    min-height: 100vh;
    background: #081b29;
    padding: 100px 10%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 171, 240, 0.1), transparent);
    animation: gradientBG 10s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.about-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #00abf0;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.about-content p {
    font-size: 16px;
    margin-bottom: 40px;
    color: #fff;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-details {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.about-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 171, 240, 0.1);
    border-radius: 15px;
    border: 2px solid #00abf0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    flex: 1;
}

.about-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #00abf0;
    z-index: 1;
    transition: 0.5s ease;
}

.about-item:hover::before {
    width: 100%;
}

.about-icon {
    font-size: 40px;
    color: #00abf0;
    margin-bottom: 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-item:hover .about-icon {
    color: #081b29;
    transform: scale(1.2) rotate(360deg);
}

.about-item h4 {
    font-size: 24px;
    color: #00abf0;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: 0.5s ease;
}

.about-item p {
    font-size: 20px;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 2;
    transition: 0.5s ease;
}

.about-info {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: #081b29;
    border-radius: 0 0 15px 15px;
    transform: translateY(100%);
    transition: 0.5s ease;
    z-index: 2;
}

.about-item:hover .about-info {
    transform: translateY(0);
}

.about-item:hover h4,
.about-item:hover p {
    color: #081b29;
}

.about-info p {
    font-size: 14px;
    color: #fff;
    margin: 5px 0;
    text-align: left;
    padding-left: 20px;
}

.about-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 171, 240, 0.2);
}

.services {
    min-height: 100vh;
    background: #081b29;
    padding: 100px 10%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 171, 240, 0.1), transparent);
    animation: gradientBG 10s ease infinite;
}

.services-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-content h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.services-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #00abf0;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.services-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.service-item {
    background: rgba(0, 171, 240, 0.1);
    border: 2px solid #00abf0;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    width: 300px;
    flex: 1 1 300px;
    max-width: 350px;
}

.service-item:nth-child(1) { animation-delay: 0.4s; }
.service-item:nth-child(2) { animation-delay: 0.6s; }
.service-item:nth-child(3) { animation-delay: 0.8s; }

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #00abf0;
    z-index: 1;
    transition: 0.5s ease;
}

.service-item:hover::before {
    width: 100%;
}

.service-icon {
    font-size: 50px;
    color: #00abf0;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .service-icon {
    color: #081b29;
    transform: scale(1.2) rotate(360deg);
}

.service-item h4 {
    font-size: 24px;
    color: #00abf0;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    transition: 0.5s ease;
}

.service-item p {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    transition: 0.5s ease;
}

.service-details {
    position: relative;
    z-index: 2;
    transition: 0.5s ease;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s ease;
}

.service-item:hover .service-details ul {
    opacity: 1;
    transform: translateY(0);
}

.service-details li {
    color: #fff;
    margin: 10px 0;
    font-size: 14px;
    text-align: left;
    padding-left: 25px;
    position: relative;
}

.service-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00abf0;
    transition: 0.3s ease;
}

.service-item:hover .service-details li::before {
    color: #081b29;
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 171, 240, 0.3);
}

.service-item:hover h4,
.service-item:hover p {
    color: #081b29;
}

.portfolio {
    min-height: 100vh;
    background: #081b29;
    padding: 100px 10%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 171, 240, 0.1), transparent);
    animation: gradientBG 10s ease infinite;
}

.portfolio-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.portfolio-content h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.portfolio-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #00abf0;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.portfolio-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 300px;
    flex: 1 1 300px;
    max-width: 350px;
}

.portfolio-item:nth-child(1) { animation-delay: 0.4s; }
.portfolio-item:nth-child(2) { animation-delay: 0.6s; }
.portfolio-item:nth-child(3) { animation-delay: 0.8s; }

.portfolio-img {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    background: #081b29;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
    transform-origin: center 30%;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.3);
    filter: brightness(1.2) drop-shadow(0 0 20px rgba(0, 171, 240, 0.5));
    object-position: center 10%;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 27, 41, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(100%);
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.portfolio-details {
    text-align: center;
    padding: 30px;
    transform: translateY(20px);
    transition: 0.5s ease;
    width: 100%;
}

.portfolio-item:hover .portfolio-details {
    transform: translateY(0);
}

.portfolio-details h4 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.portfolio-details p {
    font-size: 16px;
    color: #00abf0;
    margin-bottom: 25px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.portfolio-links {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.portfolio-link {
    width: 45px;
    height: 45px;
    background: #00abf0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #081b29;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 171, 240, 0.3);
}

.portfolio-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #081b29;
    z-index: 1;
    transition: 0.5s ease;
}

.portfolio-link:hover::before {
    width: 100%;
}

.portfolio-link i {
    position: relative;
    z-index: 2;
    transition: 0.5s ease;
}

.portfolio-link:hover i {
    color: #00abf0;
    transform: scale(1.1);
}

.portfolio-item:hover {
    transform: translateY(-15px);
}

.contact {
    min-height: 100vh;
    background: #081b29;
    padding: 100px 10%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 171, 240, 0.1), transparent);
    animation: gradientBG 10s ease infinite;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-content h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.contact-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #00abf0;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 171, 240, 0.1);
    border: 2px solid #00abf0;
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 0.8s ease forwards;
}

.contact-item:nth-child(1) { animation-delay: 0.4s; }
.contact-item:nth-child(2) { animation-delay: 0.6s; }
.contact-item:nth-child(3) { animation-delay: 0.8s; }

.contact-item:hover {
    transform: translateX(10px) scale(1.02);
    background: #00abf0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #081b29;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #00abf0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover .contact-icon {
    background: #081b29;
    color: #00abf0;
    transform: scale(1.1);
}

.contact-text h4 {
    font-size: 20px;
    color: #00abf0;
    margin-bottom: 5px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-text p {
    font-size: 16px;
    color: #fff;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover .contact-text h4,
.contact-item:hover .contact-text p {
    color: #081b29;
}

.contact-social {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.contact-social a {
    width: 45px;
    height: 45px;
    background: rgba(0, 171, 240, 0.1);
    border: 2px solid #00abf0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #00abf0;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-social a:hover {
    background: #00abf0;
    color: #081b29;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(0, 171, 240, 0.3);
}

.contact-form {
    background: rgba(0, 171, 240, 0.1);
    border: 2px solid #00abf0;
    border-radius: 15px;
    padding: 40px;
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInRight 0.8s ease forwards 0.4s;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px solid #00abf0;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #00abf0;
    border: none;
    border-radius: 8px;
    color: #081b29;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.submit-btn span {
    position: relative;
    z-index: 2;
    color: #081b29;
    transition: color 0.5s ease;
}

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

.submit-btn:hover::before {
    width: 100%;
}

.submit-btn:hover span {
    color: #00abf0;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Center titles for all sections */
.services-content h2,
.portfolio-content h2,
.about-content h2,
.contact-content h2 {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

.services-content h3,
.portfolio-content h3,
.about-content h3,
.contact-content h3 {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

/* === Skill icons styling === */
.skills-icons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.skills-icons i {
    font-size: 38px; /* bigger icon */
    transition: transform 0.3s ease, filter 0.3s ease;
}
.skills-icons i:hover {
    transform: translateY(-4px) scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 10px rgba(0, 171, 240, 0.4));
}
/* Brand colors */
.skills-icons .bxl-html5 { color: #E44D26; }
.skills-icons .bxl-css3 { color: #264DE4; }
.skills-icons .bxl-javascript { color: #F7DF1E; }
.skills-icons .bxl-react { color: #61DAFB; }
.skills-icons .bxl-tailwind-css { color: #38BDF8; }
.skills-icons .bxl-bootstrap { color: #7952B3; }
.skills-icons .bxl-git { color: #F05032; }
.skills-icons .bxl-github { color: #b5aeae; }
.skills-icons .bxl-figma { color: #c9c2c0; }

