
.custom-card {
    height: 100%;
}

.navbar-nav .nav-item .nav-link {
    font-weight: 600; /* Increased font weight */
    color: #0b2e13;
}

/* New styles for navbar hover effect */
.navbar-nav .nav-item .nav-link:hover {
    background-color: #F7901D;
    color: #ffffff; /* Optional: Change text color on hover for better contrast */
    transition: background-color 0.3s ease; /* Optional: Add a smooth transition effect */
}

.navbar-nav .dropdown-menu {
    right: 0;
    left: auto;
}

.navbar-nav .dropdown-item {
    font-weight: 600;
}

/* Optional: Add some spacing between icon and text */
.nav-sidebar .nav-link p {
    margin-left: 10px;
}

/* Sidebar item styles */
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link:active,
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link:focus,
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link:hover {
    background-color: rgba(255, 255, 255, .1);
    color: #ffffff;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #F7901D;
    color: #ffffff;
}


.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #F7901D;
    color: #ffffff;
}

/* login page */
.login-page {
    background: #f4f6f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

/*
.login-page .login-box {
    width: 450px;
    max-width: 1000px;
    margin: 0;
}*/

.login-box .card {
    min-height: auto;
    width: 400px;
}

.login-card-body {
    border-radius: 10px;
    padding: 40px;
}

.login-logo img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #F7901D !important;
    border-color: #F7901D !important;
}

.btn-primary:hover {
    background-color: #e58313;
    border-color: #e58313;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #6c757d;;
    border-color: #6c757d;;
}

.btn-primary.disabled, .btn-primary:disabled:hover {
    color: #fff;
    background-color: #6c757d;;
    border-color: #6c757d;;
}

.login-box-msg {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group input {
    padding: 12px;
    font-size: 1.1rem;
}

.btn-block {
    padding: 12px;
    font-size: 1.1rem;
}

.additional-info {
    margin-top: 40px;
}

.error-message {
    color: #ffffff;
    font-size: 0.875rem;
    margin-top: -20px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    /*.login-card-body {
        padding: 20px;
    }*/
    .login-box-msg {
        font-size: 1.2rem;
    }

    .input-group input {
        padding: 10px;
        font-size: 1rem;
    }

    .btn-block {
        padding: 10px;
        font-size: 1rem;
    }
}

/*register page */
.register-page {
    background: #f4f6f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.register-page .register-box {
    width: 450px;
    max-width: 1000px;
    margin: 0;
}

.register-box .card {
    min-height: 350px;
}

.register-card-body {
    border-radius: 10px;
    padding: 40px;
}

.register-logo img {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #F7901D !important;
    border-color: #F7901D !important;
}

.btn-primary:hover {
    background-color: #e58313 !important;
    border-color: #e58313 !important;
    color: white !important;
}

.register-box-msg {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group input {
    padding: 12px;
    font-size: 1.1rem;
}

.btn-block {
    padding: 12px;
    font-size: 1.1rem;
}

.additional-info {
    margin-top: 40px;
}

/* code mirror */
.CodeMirror {
    min-height: 400px;
    max-height: 400px;
    min-width: 100%;
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.code-editor {
    min-height: 400px;
    max-height: 400px;
    min-width: 100%;
    max-width: 100%;
}

.playground {
    min-height: 400px;
    max-height: 400px;
    min-width: 100%;
    max-width: 100%;
}

/* hero section */
.hero-section {
    background-image: url('../frontend/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
}


.countdown-timer {
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
}

.partner-logo {
    max-height: 50px;
    margin: 1rem;
}

/* front*/
.bg-front {
    background-color: #006700;
}

.bg-custom-green {
    background-color: #08704E;
}

#front-nav .nav-link:hover {
    color: #ffffff;
}

#apply {
    color: white;
}

/* About */
img.float-left {
    float: left;
    height: 500px;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Pricing*/
/* Custom animations and styles for a thrilling experience */
.pricing-header {
    background: linear-gradient(90deg, rgb(11, 145, 110, 1) 2%, rgb(11, 145, 110) 5%, rgb(11, 155, 104) 30%, rgba(9, 121, 81, 1) 40%, rgba(9, 121, 81, 1) 50%, rgba(2, 0, 36, 1) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    border-bottom: 3px solid #f8f9fa;
}

.highlight-text {
    color: #ffc107;
    font-weight: bold;
}

.card-header {
    font-size: 1.5rem;
}

.special-offer {
    background-color: #ff5733;
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 30px;
    margin-bottom: 20px;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.apply-now {
    animation: glow 2s infinite;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px #ffc107;
    }

    50% {
        box-shadow: 0 0 20px #ffc107;
    }

    100% {
        box-shadow: 0 0 5px #ffc107;
    }
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Abonnement */
.highlight-card {
    border: 2px solid rgb(21, 133, 85) !important;
    border-radius: .25rem;
    box-shadow: 0 0 10px rgba(21, 133, 85, 0.5) !important;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(21, 133, 85, 0.8);
}

@media (max-width: 768px) {
    .login-page {
        padding: 10px;
    }

    .login-box {
        width: 100%;
        max-width: 400px;
    }

    .login-card-body {
        padding: 20px;
    }

    .login-box-msg {
        font-size: 1.2rem;
    }

    .input-group input {
        padding: 10px;
        font-size: 1rem;
    }

    .btn-block {
        padding: 10px;
        font-size: 1rem;
    }

    .additional-info {
        margin-top: 20px;
    }

    .additional-info h5 {
        font-size: 1.1rem;
    }

    .additional-info p {
        font-size: 0.9rem;
    }

    .content-wrapper {
        padding-top: 1rem;
    }
}


@media (max-width: 576px) {
    .login-box {
        margin: 0 10px;
        width: 360px;
    }

    .login-logo img {
        max-width: 80%;
    }

    .col-8, .col-4 {
        width: 100%;
        margin-bottom: 15px;
    }

    .btn-block {
        width: 100%;
    }
}

/* register page*/

/* links */
.footer .social-icons a {
    margin: 0 10px;
    font-size: 1.5rem;
}

/* WhatsApp Floating Button Styles */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: block;
  background-color: #25d366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
  color: white;
  font-size: 28px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-icon {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .whatsapp-icon {
    font-size: 20px;
  }
}
