:root {
    --primary: #116b5c;
    --accent: #f6b042;
    --soft: #f7faf9;
}

* {
    box-sizing: border-box;
}

body {
    color: #fff;
    font-family: 'Roboto', sans-serif;
}

i {
    color: #f1c40f;
}

.get-in-touch {
    border-radius: 30px;
    padding: 10px 25px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.get-in-touch:hover {
    background-color: #ffd700;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

/* ---------- Topbar ---------- */
.topbar {
    background: #fff;
    border-bottom: 1px solid rgba(0, 150, 0, 0.2);
    backdrop-filter: blur(8px);
    color: #06856b;
    font-size: 14px;
    margin: 0;
    padding: 0 20px;
}

.brand_name {
    color: #ffd700;
    font-size: 34px;
}

.topbar a,
.navbar-nav .nav-link {
    color: #06856b;
    text-decoration: none;
    transition: 0.3s;
}

.topbar a:hover,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffd700;
}

/* ---------- Navbar ---------- */
.navbar {
    background: linear-gradient(90deg, var(--primary), #0e8a72);
    border-bottom: 1px solid rgba(0, 150, 0, 0.25);
    backdrop-filter: blur(10px);
    margin: 0;
    padding: 5px 20px;
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

/* ---------- Register Button ---------- */
.register-btn {
    background-color: var(--bs-warning);
    color: #000;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

.register-btn:hover {
    background-color: #ffca2c;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.4);
}

/* ---------- Hero Carousel ---------- */
.hero-carousel {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)),
        url('../img/easyhaji-1.jpeg') no-repeat center center / cover;
    /*min-height: 85vh;*/
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-carousel .carousel-item {
    transition: opacity 1s ease-in-out;
}

.hero-carousel h1 {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    font-weight: 700;
}

.hero-carousel p {
    color: #e5e5e5;
    font-size: 18px;
}

.hero-carousel .btn-warning,
.hero-carousel .btn-outline-light {
    transition: all 0.3s ease;
}

.hero-carousel .btn-warning {
    background: linear-gradient(45deg, #ffd700, #ffcc33);
    border: none;
}

.hero-carousel .btn-warning:hover {
    background: linear-gradient(45deg, #ffcc00, #ffb700);
    transform: translateY(-2px);
}

.hero-carousel .btn-outline-light {
    border-color: #fff;
    color: #fff;
}

.hero-carousel .btn-outline-light:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.hero-carousel .hero-img {
    max-width: 90%;
    border-radius: 10px;
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.08),
        0 0 40px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.hero-carousel .hero-img:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.3),
        0 0 60px rgba(255, 255, 255, 0.1);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 6%;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    padding: 20px;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    background-size: 60%;
    background-position: center;
}

.hero-carousel .carousel-control-prev-icon:hover,
.hero-carousel .carousel-control-next-icon:hover {
    background-color: #0e8a72;
}

/* Responsive fix for mobile */
@media (max-width: 768px) {
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 10%;
    }
}

@media (max-width: 992px) {
    .hero-carousel {
        text-align: center;
    }

    .banner-image img {
        height: 300px;
    }

    .hero-carousel .col-lg-6 {
        text-align: center !important;
    }

    .hero-carousel img {
        max-width: 80%;
    }
}

/* Dropdown hover effect */
.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
    padding: 0;
}

/* Submenu style */
.dropdown-menu {
    background: #fff;
    border: none;
    border-radius: 8px 0px 8px 0px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-menu .dropdown-item {
    color: #0e8a72;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 20px;
}

.dropdown-menu .dropdown-item:hover {
    background: linear-gradient(90deg, #0e8a72, #12b396);
    color: #fff;
}

/* Submenu positioning */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    padding: 0;
    display: none;
}

.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

.dropdown-submenu .dropdown-menu {
    background: #fff;
    border-radius: 0 8px 0px 8px;
}

@media (max-width:768px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-card {
    max-width: 100%;
    margin-top: 20px;
  }
}
