/********** Template CSS **********/
:root {
    --primary: #f5d071;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #0C2B4B;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #000;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    min-height: 80px
}

/* Apply a smooth transition to both elements */
.navbar-brand .logo-img,
.navbar-brand .logo-text {
  transition: transform 0.3s ease-in-out;
}

/* Animate the logo on hover */
.navbar-brand:hover .logo-img {
  transform: scale(1.1) rotate(-10deg); /* Apply both scale and rotate */
}

/* Animate the text on hover */
.navbar-brand:hover .logo-text {
  transform: scale(1.1); /* Apply only scale */
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-brand .logo-img {
        height: 60px;
    }
    .navbar-brand .logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 420px) {
    .navbar-brand .logo-img {
        height: 60px;
    }
    .navbar-brand .logo-text {
        font-size: 1rem;
    }
    .navbar .navbar-brand {
        padding-left: 10px;
        padding-right: 10px;
    }
    .navbar-toggler {
        padding: 1rem 1rem;
        font-size: 1rem;
    }
    .navbar-toggler-icon {
        width: 1.2em;
        height: 1.2em;
    }
}

@media (max-width: 360px) {
    .navbar-brand .logo-img {
        height: 50px;
    }
    .navbar-brand .logo-text {
        font-size: 0.8rem;
    }
    .navbar .navbar-brand {
        padding-left: 5px;
        padding-right: 5px;
    }
    .navbar-toggler {
        padding: 0.8rem 0.8rem;
        font-size: 1rem;
    }
    .navbar-toggler-icon {
        width: 1.1em;
        height: 1.1em;
    }
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .75);
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .carousel-caption h1.display-2 {
        font-size: 2.5rem; /* Adjust as needed for smaller screens */
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/carousel-1.webp) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}


/*** Courses ***/
.courses {
    min-height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/carousel-1.webp) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    max-width: 150px;
    height: auto;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #161616;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}

/* Add this to your custom CSS file */
.logo-img {
  height: 80px; /* Adjust this value to fit your navbar's height */
  width: auto;  /* This maintains the logo's aspect ratio */
}

.border-end{
    border-right: 1px solid white !important; /* Adjust the color as needed */
}

.btn-light:hover{
    background-color: #eac15f;
}

span.px-3{
    color: #000;
}

.pris-container {
    font-family: sans-serif;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 8px;
}
.pris-original {
    color: #888;
    text-decoration: line-through;
    font-size: 1em;
}
.pris-tilbud {
    color: #d9534f;
    font-size: 1.5em;
    font-weight: bold;
}
/* .rabat-badge {
    margin-top: 10px;
} */
.rabat-procent {
    background-color: #28a745;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
}

/* Custom styles for the Lovpakke Section */
.lovpakke-container {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    overflow: hidden; /* Ensures the child divs conform to the border radius */
}

.content-left {
    padding: 2rem;
}

.content-left h2 {
    font-size: 2.25rem; /* Corresponds to Tailwind's text-4xl */
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.content-left p {
    line-height: 1.75;
    margin-bottom: 1.5rem;
    color: var(--secondary); /* Using secondary color from your CSS */
}

.price {
    font-size: 4rem; /* Larger font for the price */
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.content-right {
    background-color: var(--primary); /* Using the primary color from your CSS */
    color: var(--dark); /* Using dark color for better contrast on yellow */
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-right h3 {
    font-size: 1.25rem; /* Corresponds to Tailwind's text-xl */
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 2rem;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.features-list li::before {
    content: '>';
    margin-right: 0.75rem;
    font-weight: 700;
}

.btn-signup {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--dark);
    color: var(--dark);
    text-align: center;
    border-radius: 0.375rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.btn-signup:hover {
    background-color: var(--dark);
    color: var(--primary);
}

.colored-first-letter {
  color: red;
  font-weight: bold;
}