@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700&display=swap');

body {
    font-family: 'Urbanist', sans-serif;
    scroll-behavior: smooth;
}
.nav-link {
    position: relative;
}
.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #2776bb;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.nav-link:hover:after {
    width: 100%;
}
.active:after {
    width: 100%;
}
.project-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}
.carousel-slide.active {
    opacity: 1;
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 80%;
    max-width: 1200px;
}
/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(39, 118, 187, 1); /* Updated Blue RGBA */
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-menu-content {
    text-align: center;
    width: 100%;
}
.mobile-menu-content a {
    display: block;
    color: white;
    font-size: 2rem;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
    position: relative;
    padding-bottom: 8px;
}
.mobile-menu-overlay.active .mobile-menu-content a {
    transform: translateY(0);
    opacity: 1;
}
.mobile-menu-content a:nth-child(1) {
    transition-delay: 0.10s;
}
.mobile-menu-content a:nth-child(2) {
    transition-delay: 0.15s;
}
.mobile-menu-content a:nth-child(3) {
    transition-delay: 0.20s;
}
.mobile-menu-content a:nth-child(4) {
    transition-delay: 0.25s;
}
.mobile-menu-content a:nth-child(5) {
    transition-delay: 0.30s;
}
.mobile-menu-content a:hover {
    color: #F1F5F9;
}
body.menu-open nav {
    z-index: 1001 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    transition: background-color 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

body.menu-open nav svg,
body.menu-open nav img,
body.menu-open nav .text-primary,
body.menu-open nav .text-\[\#2776bb\] {
    opacity: 0;
    display: none;
}
/* Hamburger Animation */
.hamburger {
    width: 24px;
    height: 24px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}
.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #2776bb;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }
.hamburger.open span:nth-child(1) {
    top: 8px;
    width: 0%;
    left: 50%;
}
.hamburger.open span:nth-child(2) {
    transform: rotate(45deg);
    background: white !important;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg);
    background: white !important;
    top: 8px;
}
.mobile-menu-overlay.active .close-menu {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}
/* Custom rounded elements */
.rounded-sm {
    border-radius: 4px;
}
.rounded-md {
    border-radius: 6px;
}
.rounded-lg {
    border-radius: 8px;
}
.rounded-xl {
    border-radius: 12px;
}
.rounded-2xl {
    border-radius: 16px;
}
/* Custom shadows */
.shadow-soft {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.shadow-medium {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
/* Custom transitions */
.transition-slow {
    transition: all 0.5s ease;
}
.transition-medium {
    transition: all 0.3s ease;
}
.transition-fast {
    transition: all 0.15s ease;
}
.scroll-button {
    position: absolute;
    left: 50%;
    bottom: 13rem;
    z-index: 20;
}
#scroll a {
    padding-top: 60px;
}
#scroll a span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 30px;
    height: 50px;
    margin-left: -15px;
    border: 2px solid #fff;
    border-radius: 50px;
    box-sizing: border-box;
}
#scroll a span::before {
    position: absolute;
    top: 10px;
    left: 50%;
    content: '';
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: #fff;
    border-radius: 100%;
    -webkit-animation: sdb10 2s infinite;
    animation: sdb10 2s infinite;
    box-sizing: border-box;
}
@-webkit-keyframes sdb10 {
    0% {
        -webkit-transform: translate(0, 20px);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    80% {
        -webkit-transform: translate(0, 0);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
@keyframes sdb10 {
    0% {
        transform: translate(0, 20px);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    80% {
        transform: translate(0, 0);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}