.hero-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./assets/Picture1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    min-height: 100vh;
    margin-left: 0; /* ensures true edge-to-edge even inside containers */
    margin-right: 0;
}

.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stats-card {
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

body,html {
    width: 100%;
    margin: 0 auto !important;
    padding: 0 auto !important;
}

.page {
    display: none;
    width: 100vw;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.active-page {
    display: block;
}

.contact-input {
    transition: all 0.3s ease;
}

.contact-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.timeline-item {
    position: relative;
    padding-left: 50px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background: #e5e7eb;
}

.timeline-dot {
    position: absolute;
    left: 15px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3b82f6;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 10)); }
}

.slider {
    background: rgba(0, 0, 0, 0);
    height: 30rem;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider::before,
.slider::after {
    background: linear-gradient(to right, rgb(243, 244, 246, 1) 0%, rgba(255,255,255,0) 100%);
    content: "";
    height: 28rem;
    position: absolute;
    width: 10rem;
    z-index: 2;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}

.slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    gap: 10rem;
    align-items: center;
    vertical-align: middle;
    width: calc(250px * 20);
}

.slide {
    height: auto;
    width: auto;
    display: flex;
    padding-top: 3rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.slide img {
    height: 18rem;
    width: 24rem;
    max-width: none;
    object-fit: content;
    transition: filter 0.3s ease;
}

.slide:hover img {
    filter: grayscale(0%);
}