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

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-list {
    margin: 15px 20px;
}

.div-list {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.ul-list {
    list-style: none;
    display: flex;
    gap: 3rem;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 25px;
    border-radius: 25px;
}

.ul-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 25px;
    transition: 0.3s;
    cursor: pointer;
}

.ul-list li a {
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    color: black;
}

.ul-list li.active {
    background-color: black;
    padding: 10px 15px;
}

.ul-list li.active a,
.ul-list li.active i {
    color: white;
}

/* Home Section */
.home {
    margin: 160px 200px;
}

.home-container {
    display: flex;
    gap: 6rem;
    align-items: center;
}

.home-p {
    color: black;
    background-color: rgba(128, 128, 128, 0.214);
    display: inline-block;
    border-radius: 25px;
    padding: 5px 10px;
    margin-bottom: 30px;
}

.home-s {
    font-weight: bold;
    color: green;
}

.info-home h1 {
    font-size: 70px;
    font-family: "Raleway", sans-serif;
    margin-bottom: 20px;
}

.info-home h3 {
    font-size: 40px;
    font-family: "Playfair Display", serif;
    margin-bottom: 20px;
}

.info-p {
    color: #222;
    font-family: "Roboto", sans-serif;
    padding-bottom: 20px;
}

.info-p p {
    padding-bottom: 5px;
}

.info-p2 {
    display: flex;
    gap: 1rem;
    color: #2c2c2c;
    font-size: 14px;
    padding-bottom: 20px;
}

.btnn {
    display: flex;
    gap: 1rem;
    padding-bottom: 30px;
}

.btn-home1 {
    background-color: #000000;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-home1:hover {
    background-color: #333;
}

.btn-home2 {
    background-color: transparent;
    border: 2px solid black;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.4s;
}

.btn-home2:hover {
    background-color: #000000;
    color: #fff;
}

hr {
    width: 90%;
    font-weight: bold;
    color: gray;
}

.hhr {
    padding-bottom: 30px;
}

.follow {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.follow ul {
    display: flex;
    gap: 2rem;
    font-size: 20px;
    list-style: none;
}

.follow ul a {
    text-decoration: none;
    color: #000000;
    transition: 0.3s;
}

.follow ul a:hover {
    color: #474af0;
}

.home img {
    width: 400px;
    border-radius: 10px;
    object-fit: cover;
}

/* About Section */
.about {
    margin: 160px 200px;
}

.about>p {
    padding-bottom: 30px;
    font-size: 13px;
    color: rgb(50, 50, 50);
}

.about h1 {
    font-family: "Open Sans", sans-serif;
}

.title {
    padding-bottom: 20px;
}

.about .hrrr {
    width: 30%;
    padding-bottom: 40px;
}

.info-about {
    display: flex;
    flex-direction: column;
}

.about-container {
    display: flex;
    gap: 2rem;
}

.about img {
    position: relative;
    bottom: 85px;
    width: 400px;
    height: 400px;
    border-radius: 15px;
    border: 1px solid black;
    object-fit: cover;
}

.about h2 {
    padding-bottom: 30px;
}

.about-info p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.card {
    display: flex;
    gap: 2rem;
}

.c1 {
    display: flex;
    align-content: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border: 2px solid black;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    flex: 1;
}

.c1 h3 {
    padding: 10px 0;
    font-size: 18px;
}

.c1 p {
    font-size: 14px;
    color: #555;
}

.c1:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: #474af0;
    background-color: #f0f4ff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

/* Projects Section */
.project {
    margin: 160px 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.project>p {
    padding-bottom: 20px;
    font-size: 13px;
    color: rgb(50, 50, 50);
}

.project h1 {
    font-family: "Open Sans", sans-serif;
    padding-bottom: 10px;
}

.project hr {
    width: 10%;
}

.info-pro {
    padding-top: 20px;
    text-align: center;
}

.info-pro p {
    padding-bottom: 10px;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 40px auto;
}

.project-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Featured Project Card - DataFixer Highlight */
.project-card.featured {
    background: linear-gradient(135deg, #fff5eb 0%, #ffffff 100%);
    border: 2px solid #f97316;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.2);
    position: relative;
    overflow: hidden;
}

.project-card.featured::before {
    content: "FEATURED";
    position: absolute;
    top: 15px;
    right: -30px;
    background: #f97316;
    color: white;
    padding: 5px 40px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.project-card.featured:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 35px rgba(249, 115, 22, 0.3);
    border-color: #ea580c;
}

.project-card.featured h3 {
    color: #ea580c;
    font-size: 1.2em;
}

.project-card img {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    margin-bottom: 15px;
    object-fit: cover;
}

.project-card h3 {
    color: #1e40af;
    margin-bottom: 8px;
}

.project-card>p {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.skills {
    margin-bottom: 15px;
}

.skills a {
    display: inline-block;
    background: #e0e7ff;
    color: #1e3a8a;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 6px;
    margin: 3px;
    transition: background 0.3s;
}

.skills a:hover {
    background: #c7d2fe;
}

/* Featured card skills with orange theme */
.project-card.featured .skills a {
    background: #ffedd5;
    color: #9a3412;
}

.project-card.featured .skills a:hover {
    background: #fed7aa;
}

.btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    background: #1e40af;
    color: white;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn:hover {
    background: #2563eb;
}

/* Featured card button with orange theme */
.project-card.featured .btn {
    background: #f97316;
}

.project-card.featured .btn:hover {
    background: #ea580c;
}

/* Services Section */
.services {
    margin: 160px 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.services>p {
    padding-bottom: 20px;
    font-size: 13px;
    color: rgb(50, 50, 50);
}

.services h1 {
    font-family: "Open Sans", sans-serif;
    padding-bottom: 10px;
}

.services hr {
    width: 10%;
}

.services-container {
    padding-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.service-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.5s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card i {
    margin-bottom: 15px;
    z-index: 1;
    position: relative;
    color: #474af0;
}

.service-card h3 {
    color: #1e40af;
    margin-bottom: 10px;
    transition: color 0.5s;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: #555;
    font-size: 0.9rem;
    transition: color 0.5s;
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #474af0;
    z-index: 0;
    transition: 0.5s;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover i {
    color: #fff;
}

/* Contact Section */
.contact {
    margin: 160px 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.contact>p {
    padding-bottom: 20px;
    font-size: 13px;
    color: rgb(50, 50, 50);
}

.contact h1 {
    font-family: "Open Sans", sans-serif;
    padding-bottom: 10px;
}

.contact-content {
    padding-top: 50px;
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info>p {
    font-size: 16px;
    margin-bottom: 25px;
    color: #222;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #222;
}

.contact-item i {
    font-size: 20px;
    color: #474af0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px);
    color: #fff;
}

.social-link[href*="github"]:hover {
    background: #000;
}

.social-link[href*="linkedin"]:hover {
    background: #0A66C2;
}

.social-link[href*="wa.me"]:hover,
.social-link[href*="whatsapp"]:hover {
    background: #25D366;
}

/* Contact Form */
.contact-form {
    flex: 1;
    min-width: 300px;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: border 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #474af0;
}

.btn-send {
    background: #474af0;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.btn-send:hover {
    background: #2c36d9;
}

/* Footer */
.footer {
    background-color: #000;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    overflow-x: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #474af0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-social a {
    color: #fff;
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #474af0;
}

.footer-copy {
    font-size: 12px;
    color: #aaa;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    color: #00f0ff;
    text-align: center;
}

.loading-content h1,
.loading-content h2,
.loading-content i {
    margin: 20px 0;
}

.sub-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

.hidden {
    opacity: 0;
    transform: translateY(-200px);
}

.fall {
    animation: fall 0.9s forwards;
}

@keyframes fall {
    0% {
        opacity: 0;
        transform: translateY(-200px);
    }

    60% {
        opacity: 1;
        transform: translateY(20px);
    }

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

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}

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

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #474af0;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#back-to-top:hover {
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {

    .home,
    .about,
    .project,
    .services,
    .contact {
        margin: 120px 50px;
    }

    .home-container,
    .about-container {
        flex-direction: column;
        gap: 3rem;
    }

    .home img,
    .about img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .ul-list {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 8px 15px;
    }

    .info-home h1 {
        font-size: 50px;
    }

    .info-home h3 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    header {
        display: none;
    }

    .home,
    .about,
    .project,
    .services,
    .contact {
        margin: 100px 20px;
    }

    .home-container,
    .about-container,
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }

    .projects-container,
    .services-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home img,
    .about img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .info-home h1 {
        font-size: 36px;
    }

    .info-home h3 {
        font-size: 24px;
    }

    .btn-home1,
    .btn-home2,
    .btn,
    .btn-send {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .btnn {
        flex-direction: column;
    }

    .follow ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .card {
        flex-direction: column;
    }

    .about img {
        bottom: 0;
        margin-top: 20px;
    }

    #back-to-top {
        bottom: 20px;
        right: 20px;
    }
}