@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

* {
    font-family: "Inter", sans-serif;
}

.nav-links a {
    position: relative;
    /* Needed for the ::after to position correctly */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: rgba(58, 58, 58, 0.5);
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
    /* Expands underline on hover */
}

.hero-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'); */
    background: url("/Images/CDBkMNZmd7o-unsplash.jpg") center/cover no-repeat;
    opacity: 0.1;

    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-item {
    transition: all 0.3s ease;
    overflow: hidden;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item img {
    transition: all 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-anim {
    position: fixed;
    background: white;
    z-index: 50;
    overflow-y: auto;
    border-radius: 12px;
    transform-origin: top left;
    transition: all 0.5s ease-in-out;
}

/* "---> " Icon*/
/* .arrow {
    display: inline-block;
    width: 2.5ch;
    Reserve space for the full arrow length
    text-align: left;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: monospace;
    white-space: pre;
}

@keyframes arrowType {
    0% {
        content: "-";
    }

    25% {
        content: "--";
    }

    50% {
        content: "---";
    }

    75% {
        content: "--->";
    }

    100% {
        content: "-";
    }
}

.arrow::after {
    content: "-";
    animation: arrowType 1s steps(1) infinite;
} */


.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.sticky-nav {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

/* Floating animation for icons over hero section */
@keyframes floatAllOver {
    0% {
        transform: translate(0px, 0px);
    }

    25% {
        transform: translate(15px, -10px);
    }

    50% {
        transform: translate(-20px, 15px);
    }

    75% {
        transform: translate(10px, -15px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

.floating-icon {
    position: absolute;
    animation-name: floatAllOver;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}