.custom-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensures no image goes out of bounds */
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-img {
    max-width: 100%;
    height: auto;
}

.overlay-img {
    position: absolute;
    top: 100%;
    left: 100%;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: top 0.5s ease, left 0.5s ease;
    animation: moveImage 10s ease-in-out infinite alternate;
}

.custom-image-container.loaded .overlay-img {
    top: 50%;
    left: 50%;
}




.main-img {
    position: relative;
    z-index: 5;
}

@keyframes moveImage {
    0% {
        transform: translate(-50%, -50%) translate(0, 0);
    }
    25% {
        transform: translate(-50%, -50%) translate(20px, 10px);
    }
    50% {
        transform: translate(-50%, -50%) translate(-20px, -15px);
    }
    75% {
        transform: translate(-50%, -50%) translate(10px, -20px);
    }
    100% {
        transform: translate(-50%, -50%) translate(-10px, 20px);
    }
}


.image-wrapper-2 {
    position: relative;
    width: 100%;
    height: auto;
}

.first-image {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    position: absolute;
}

.second-image {
    width: 100%;
    position: relative;
    z-index: 5;
}

.animated-image {
    animation: moveImage1 5s infinite alternate ease-in-out;
}

@keyframes moveImage1 {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10px, -10px);
    }
    100% {
        transform: translate(-10px, 10px);
    }
}


.service-item {
    display: flex;
    flex-wrap: nowrap;
}

.bg-dark-section {
    background-color: #353535;
    padding: 20px;
    border-radius: 10px 0px 0px 10px;
}

.bg-light-section {
    background-color: #C4D92F;
    text-align: center;
    border-radius: 0px 10px 10px 0px;
}

.section-text {
    font-size: 1rem;
    color: #000;
}

.text-light {
    color: #ffffff;
    width: 100%;
}

.title a {
    color: #ffffff;
    text-decoration: none;
}


.custom-hr {
    border: 0;
    height: 2px;
    background-color: #C4D92F;
    margin: 10px 0;
}

.custom-list {
    list-style-type: none;
    padding-left: 0;
}

.custom-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.custom-list li:before {
    content: url('../images/arrow.png'); /* Replace with the path to your image */
    position: absolute;
    left: 0;
    top: 0;
    width: 20px; /* Adjust size as needed */
    height: 20px; /* Adjust size as needed */
}


.number-display {
    font-size: 60px; /* Adjust size as needed */
    font-weight: bold;
    line-height: 1; /* Ensures the number takes up the full height */
    color: #ffffff;
    text-align: right;/* Adjust color as needed */
    padding: 0px;
}

.text-display {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensures it matches the height of the number */
}

.text-line {
    font-size: 20px; /* Adjust size as needed */
    font-weight: bold;
    color: #C4D92F; /* Adjust color as needed */
}

@media (max-width: 768px) {
    .number-display {
        font-size: 60px; /* Adjust for smaller screens */
    }
    .text-line {
        font-size: 16px; /* Adjust for smaller screens */
    }
}

.rounded-modal {
    background-color: #000;
    border-radius: 50%;
    padding: 55px;
    position: relative;
    text-align: center;
    color: #C4D92F;
    border: 4px solid #C4D92F; /* Border for the main modal */
}

.modal-content {
    border: 4px solid #C4D92F;
    max-width: 380px; /* Adjust size as needed */
    max-height: 380px; /* Adjust size as needed */
    margin: auto;
}

.modal-body {
    padding: 20px;
}

.btn-close-white {
    position: absolute;
    top: 10px;
    right: 10px;
    filter: invert(100%);
}

.modal-logo {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px; /* Adjust size as needed */
    height: 100px; /* Adjust size as needed */
    border-radius: 50%;
    border: 4px solid #C4D92F;
    background-color: #000;
}

input.form-control {
    background-color: #000;
    color: #C4D92F;
    border: 2px solid #C4D92F; /* Border color */
}

input.form-control::placeholder {
    color: #C4D92F;
}

input.form-control:focus {
    box-shadow: none;
    border-color: #C4D92F;
}

.btn-warning {
    background-color: #C4D92F;
    color: #000;
    border: none;
}

.btn-warning:hover {
    background-color: #A1B521; /* Slightly darker shade for hover effect */
}

/* Specific select dropdown styling */
select.custom-select-style {
    background-color: #000;
    color: #C4D92F;
    border: 2px solid #C4D92F; /* Border color */
    appearance: none; /* Remove default dropdown arrow for consistent styling across browsers */
    padding: 0.375rem 0.75rem; /* Adjust padding to match input fields */
}

/* Placeholder styling (default option) */
select.custom-select-style option[value=""] {
    color: #C4D92F;
}

/* Focus state for the specific dropdown */
select.custom-select-style:focus {
    box-shadow: none;
    border-color: #C4D92F;
    outline: none;
}

/* Styling for the options inside the specific dropdown */
select.custom-select-style option {
    background-color: #000;
    color: #C4D92F;
}

/* Change dropdown arrow color and appearance if needed */
select.custom-select-style::after {
    content: '\25BC'; /* Custom arrow (downward triangle) */
    color: #C4D92F; /* Arrow color */
    padding-left: 10px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}


/* LOADER */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 10000; /* Ensure it's on top of all other content */
  display: flex;
  justify-content: center;
  align-items: center;
}

#loader img {
  max-width: 400px; /* Adjust the size of your loader image */
  height: auto;
}

.container-logo {
    position: relative;
    height: 400px; /* Adjust height as needed */
    overflow: hidden; /* Ensure the icons don't overflow outside the container */
}

.icon-container {
    position: absolute;
    width: 80px; /* Icon size */
    height: 80px; /* Icon size */
}

.icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* Constrained Keyframes for different directions */
@keyframes moveIcon1 {
    0% { transform: translate(0, 0); }
    25% { transform: translate(50px, -25px); }
    50% { transform: translate(-50px, 25px); }
    75% { transform: translate(25px, 50px); }
    100% { transform: translate(0, 0); }
}

@keyframes moveIcon2 {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-25px, 50px); }
    50% { transform: translate(50px, -25px); }
    75% { transform: translate(-50px, -25px); }
    100% { transform: translate(0, 0); }
}

@keyframes moveIcon3 {
    0% { transform: translate(0, 0); }
    25% { transform: translate(60px, -20px); }
    50% { transform: translate(-30px, 30px); }
    75% { transform: translate(20px, -45px); }
    100% { transform: translate(0, 0); }
}

@keyframes moveIcon4 {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-35px, 40px); }
    50% { transform: translate(45px, -20px); }
    75% { transform: translate(-60px, 35px); }
    100% { transform: translate(0, 0); }
}

@keyframes moveIcon5 {
    0% { transform: translate(0, 0); }
    25% { transform: translate(30px, 50px); }
    50% { transform: translate(-30px, -50px); }
    75% { transform: translate(50px, -30px); }
    100% { transform: translate(0, 0); }
}


/*--- COURSE PAGE ---*/

.course-p
{
    font-size: 25px; 
    font-weight: bold; 
    margin: 0; 
    color: #000;
}

.course-hp
{
    font-size: 55px; 
    font-weight: bold; 
    margin: 0;
}

.course-row
{
    width: 100%;
}

@media (max-width: 768px) {
    .modal-logo {
        position: absolute;
        top: -102px;
        left: 50px;
    }
    .course-p
    {
        font-size: 16px; 
    }
    .course-hp
    {
        font-size: 16px; 
        font-weight: bold; 
        margin: 0;
    }
    
}

/* Unique modal styles to avoid conflict with existing modals */
.custom-modal-content {
    background-color: #fff;
}

.custom-modal-header,
.custom-modal-body {
    color: #000; /* Making text content black */
}

/* Ensure all text, including headings and labels, are black */
.custom-modal-title,
.custom-form-label {
    color: #000 !important;
}

/* Ensure input fields are styled for the modal */
.custom-form-control {
    color: #000;
    background-color: #fff;
    border: 1px solid #ced4da;
}

/* Ensure the button matches the modal's style */
.custom-otp-btn {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    width: 100%;
    padding: 10px;
}

.custom-otp-btn:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.custom-modal-content
{
    max-height: 506px;
}
