/* ===== GLOBAL ===== */
html {
    scroll-behavior: smooth;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
}

/* ===== SIDEBAR ===== */
.offcanvas {
    width: 260px;
    transition: transform 0.3s ease-in-out;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-text {
    padding: 40px;
}

.hero h1 {
    font-size: 42px;
    font-weight: bold;
}

.hero p {
    font-size: 17px;
    color: #555;
}

/* ===== CAROUSEL ===== */
.carousel img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

    .hero {
        min-height: auto;
        padding: 40px 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .carousel img {
        height: 300px;
    }

    .hero-text {
        padding: 20px;
    }
}

/* FULL WIDTH IMAGE */
.hero-img {
    height: 100vh;
    object-fit: cover;
}

/* OVERLAY DARK EFFECT */
.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

/* RIGHT SIDE TEXT */
.custom-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    max-width: 500px;
}

/* TEXT STYLE */
.custom-caption h1 {
    font-size: 56px;
    font-weight: bold;
}

.custom-caption p {
    font-size: 25px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

    .hero-img {
        height: 400px;
    }

    .custom-caption {
        right: 5%;
        left: 5%;
        text-align: center;
    }

    .custom-caption h1 {
        font-size: 24px;
    }

    .custom-caption p {
        font-size: 14px;
    }
}

.btn-border{
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
}

.nav-link{
    color: #fff
}
.nav-link:hover{
    color: #ffc107;
}