@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;500;600;700;900&display=swap');
body {
    font-family: 'Poppins', sans-serif !important;
    background-color: #fff;
    overflow-x: hidden;
}

body {
    padding-top: 80px;
}

html {
    scroll-behavior: smooth;
}

.navbar-brand span {
    color: #6c757d;
}

.nav-link {
    font-weight: 600;
    color: #000 !important;
    position: relative;
    transition: 0.3s;
}

.nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    height: 3px;
    width: 0%;
    background-color: rgb(36, 69, 142);
    border-radius: 20px;
    transition: 0.3s ease-in-out;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.men {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    border: 5px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.men:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

h1.display-4 {
    color: rgb(26, 40, 56);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.social i {
    font-size: 35px;
    color: #000;
    transition: 0.3s;
    cursor: pointer;
}

.social i:hover {
    color: rgb(36, 69, 142);
    transform: translateY(-3px);
}

.timeline-box {
    position: relative;
    padding-left: 30px;
    border-left: 3px solid #ddd;
    margin-bottom: 40px;
}

.timeline-box::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 0;
    width: 15px;
    height: 15px;
    background: white;
    border: 4px solid rgb(12, 52, 99);
    border-radius: 50%;
}

.timeline-year {
    font-weight: 700;
    color: rgb(12, 52, 99);
    display: block;
    margin-bottom: 5px;
}

.progress-bg {
    width: 100%;
    height: 10px;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: rgb(12, 52, 99);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-in-out;
}

.foto-about-effect {
    filter: grayscale(100%);
    transition: all 0.5s ease;
    cursor: pointer;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.foto-about-effect:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-card {
    transition: 0.3s;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.5s;
}

.portfolio-card:hover .card-img img {
    transform: scale(1.1);
}

.filter-btn {
    border: 2px solid rgb(12, 52, 99);
    background: transparent;
    color: rgb(12, 52, 99);
    border-radius: 50px;
    padding: 6px 20px;
    font-weight: 600;
    transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgb(12, 52, 99);
    color: white;
}

.modal {
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
}

.modal-content {
    border-radius: 15px;
    overflow: hidden;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 10;
}

.close-modal:hover {
    background: red;
}

.contact-form-col {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.form-control:focus {
    box-shadow: none;
    border-color: rgb(12, 52, 99);
}

.form-control.valid {
    border-color: #28a745;
    background-color: #f8fff9;
}

.form-control.invalid {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.map-box iframe {
    border-radius: 15px;
    border: 2px solid #eee;
}

footer {
    background-color: rgb(12, 52, 99);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 80px;
}

footer strong {
    color: #ffd700;
}

.footer-home {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
    z-index: 100;
}

@media (max-width: 768px) {
    .men {
        width: 250px;
        height: 250px;
    }

    .footer-home {
        position: relative;
    }

    body {
        padding-bottom: 0;
    }
}
.cursor-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    animation: fadeOut 1s linear forwards;
    filter: blur(2px);
    opacity: 0.7;
    mix-blend-mode: screen;
}

@keyframes fadeOut {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}
