.grid-wrapper {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    width: 75%; /* Stretch from margin to margin */
    background: #e9f5ff;
    /* background: linear-gradient(-25deg, rgba(23, 89, 164, 1), rgba(56, 156, 214, 1)); /* Gradient background */
    padding: 25px 100px; /* Padding at the top and bottom */
    /* box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.3); */
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    /*        padding: 35px;*/
    width: 90%;
    margin: auto;
}

/* Grid Items */
.grid-item {
    position: relative; /* Ensure children with absolute positioning are relative to this element */
    height: 250px; /* Set a fixed height */
    border-radius: 15px;
    overflow: hidden; /* Hide overflow */
    text-align: center;
    padding: 20px 25px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Adjust the box shadow as needed */
}

/* Active tab indicator */
.grid-item.active {
    cursor: default;
    /* box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5); */ /* Add box-shadow */
    /* border: 2px solid blue; /* or any other style you prefer */
}

/* Add this rule to make the background image full color */
/*    .grid-item.active .bg-image {
/*        filter: none;
/*    }

    /* Background Image */
.bg-image {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    /*        filter: grayscale(100%) blur(2px);*/
    transition: filter 0.3s ease, background-color 0.3s ease;
}

/*image in normal state*/
.bg-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15); /* Adjust the opacity as needed */
}

/* Content */
.content {
    position: relative;
    z-index: 1;
    color: #fff;
    /* Add text outline */
    font-family: Poppins, arial, sans-serif;
    padding: 50px 25px; /* Add some padding */
    /* border-radius: 5px; /* Rounded corners */
    /* Flexbox for centering */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%; /* Take up full height of parent */
    transition: transform 0.3s ease; /* Add transition for smooth movement */
}

/* Normal text state */
.content h3,
.content p {
    transition: opacity 0.1s ease; /* Quick fade effect */
}

/* Specific style for h3 inside .content */
.content h3 {
    cursor: default;
    font-size: 36px; /* or any other size you prefer */
    font-weight: 700;
    margin: 0; /* Remove default margin */
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 1); /* Strong text shadow */
    color: white; /* Change the text color to white for better contrast, adjust as needed */
    /* text-shadow: 0px 2px 5px rgba(0, 0, 0, 1); /* Add text shadow */
}

/* Specific style for p inside .content */
.content p {
    font-size: 18px; /* or any other size you prefer */
    margin: 0; /* Remove default margin */
}


/* Hover Effect */


/*  on hover */
/*.grid-item:hover {
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.3); /* Add box-shadow here */
/* transform: scale(1.05); */
/* z-index: 2; */
/*text-decoration: none; /* Remove underline on hover */
/* } */

/* Remove Scale text on hover */
/*.grid-item:hover .content h3,
.grid-item:hover .content p,
.grid-item:hover .content > h3,
.grid-item:hover .content > p {
    cursor: default; */
/* color: #f1f9ff; */
/* transform: scale(1.25); /* Adjust the scaling factor as needed */
/* transition: transform 0.3s ease, text-shadow 0.3s ease; */
/* }*/

/* Add box shadow on hover */
/*.grid-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35); /* Adjust the box shadow as needed */
    /*		transform: translateY(-2px); /* Slightly move the item up for better effect */
/*}*/

.grid-item:hover .content h3 {
    display: none !important; /* Completely hide */
    color: red;
}

.grid-item:hover .content {
    transform: none; /* Remove any transform effects */
}

.grid-item:hover .button-container {
    opacity: 1; /* Make buttons visible */
}

.bg-image:hover::before {
    background-color: rgba(0, 0, 0, 0); /* Set background-color to fully transparent on hover */
}
/*    .grid-item:hover .bg-image {
        filter: grayscale(50%);
        filter: blur(0px);
    }
*/
.grid-item.active .button-container button {
    opacity: 1; /* Make visible */
    pointer-events: auto; /* Make it clickable */
}

/* Black & White filter for active tab */
/*    .grid-item.bw-filter .bg-image {
        /* filter: grayscale(100%); */
/*        filter: rgba(46,127,233, 0.5);
    }
*/

/* Info Container */
.info-container {
    opacity: 0; /* Initially hidden */
    display: flex; /* Keep as flex */
    flex-direction: column; /* Stack content vertically */
    justify-content: start; /* Center content vertically */
    position: absolute; /* Absolute positioning */
    top: 0; /* Position from the top */
    left: 0; /* Position from the left */
    height: 100%; /* Cover full height of the grid item */
    width: 100%; /* Cover full width of the grid item */
    padding: 15px 25px; /* Add padding inside */
    transition: opacity 0.1s ease; /* Quick fade effect */
    background-color: rgba(255, 255, 255, 1); /* White with X% opacity */
    border-radius: 5px; /* Rounded corners */
    font-family: Poppins, sans-serif; /* Arial font */
    font-weight: normal; /* Font weight */
    font-size: 16px !important; /* Font size */
    line-height: 1.75; /* Line height */
    color: #333; /* Text color */
    text-shadow: none !important; /* Remove text shadow */
}

.info-container h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    text-shadow: none !important;
}

.info-container p {
    text-shadow: none !important;
    line-height: 1.5;
    margin-bottom: 3px;
}

.spaced-line {
    display: flex;
    align-items: center;
    line-height: 1.5; /* Specific line height for these items */
    margin-top: 0px; /* Space between lines */
}

.info-container img.checkmark-icon {
    color: #333;
    width: 16px;
    height: auto;
    vertical-align: middle; /* Aligns the icon with the text */
    margin-right: 5px; /* Adds a little space between the icon and the text */
    /*		margin-left: 5px; /* Adds a little indent */
}

/* Button Container */
.button-container {
    opacity: 1; /* Initially hidden/visible */
/*    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    /*        top: 25px;
    bottom: -95px;
    left: 0;*/
    transition: opacity 0.1s ease; /* Quick fade effect */
    transform: none;
}

/* Show buttons on hover */
.grid-item:hover .button-container {
    opacity: 1; /* Make visible */
}

/* Show info container on hover */
.grid-item:hover .info-container {
    opacity: 1; /* Make visible */
}

/* General Button Styles */
.button-container button {
/*    padding: 5px 25px;
    font-family: Poppins, Arial, sans-serif;
/*    font-size: 14px;
    /* font-weight: 500;
       letter-spacing: 1.2px; */
/*    border-radius: 25px; /* High value for pill shape */
    border: none;
    cursor: pointer;
/*    margin: 0 10px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}


/* Learn More... Button */
.learn-more-button {
    background-color: #7cacf8;
    color: white;
}

/* Take Course Button */
.take-course-button {
    background-color: #32CD32;
    color: white;
	cursor: pointer;
}

a.take-course-button:hover {
    background-color: #228B22 !important;
/*    box-shadow: inset 0 0 0 2px #32CD32 !important; */
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 1);
}

a.take-course-button:hover span.hide-992 {
    color: #f1f9ff !important;
}


/* Hover Effects */
.button-container button:hover {
    background-color: #d3e3fd;
    color: #4971aa;
    box-shadow: inset 0 0 0 1px #4971aa, 0 4px 20px rgba(0, 0, 0, 0.25);
}

.button-container .take-course-button:hover {
    background-color: #228B22;
    box-shadow: inset 0 0 0 1px #32CD32, 0 4px 20px rgba(0, 0, 0, 0.25);
    color: white;
}

.quote-text {
    font-size: 20px;
    font-family: 'Poppins', Arial, sans-serif;
    color: #333;
    font-weight: 500;
    position: relative;
    display: inline-block;
    /*    margin: 0;*/
}

.quote-mark {
    font-size: 50px;
    font-style: italic;
    color: lightblue;
    font-weight: 800;
}

p {
    margin: 0;
    padding: 0;
}




/* Styles for the counter container */
/* .counter-container { */
#counter-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    top:65px;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%; /* Full width minus 75px on each side */
    max-width: 1200px; /* Limit the maximum width */
/*    background: rgba(229, 243, 255, 0.5); /* Semi-transparent blue tint */
    background: rgba(255, 255, 255, 0.5); /* Semi-transparent blue tint */
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border-radius: 16px;
    padding: 16px 24px; /* Consistent padding */
    margin: 0 auto; /* Center horizontally */
    border: 1px solid rgba(255, 255, 255, 0.18); /* Soft border */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.075);
    z-index: 3;
}

.counter {
    text-align: center;
    margin: 10px auto; /* Uniform margin */
    flex: 1;
    max-width: 25%; /* Prevent counters from becoming too wide */
    position: relative;
    z-index: 3;
    min-width: 225px;
}

.counter p {
    font-size: 18px;
    color: #333;
    font-family: 'Figtree', Arial, sans-serif;
	font-weight: 500;
}

.counter-container .count {
    font-size: 32px;
    font-weight: 600;
    color: #007BFF;
    font-family: 'Figtree', Arial, sans-serif; /* Consistent font */
    display: inline-block;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; /* Smooth transitions */
	z-index: 3;
}

.counter-container .count.appear {
    opacity: 1;
    transform: translateY(0); /* Restore position on appearance */
}

.counter-container .count {
    opacity: 0;
/*    transform: translateY(10px); /* Initial state: slightly shifted down */
}

.percentage {
    font-family: 'Figtree', Arial, sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #007BFF;
}

.counter:not(:last-child)::after {
    content: "";
    display: block;
    height: 50%; /* Adjusted height */
    border-right: 1px solid rgba(0, 0, 0, 0.4); /* Transparent divider */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Hover Effects for Counters */
.counter:hover {
    transform: translateY(-5px); /* Slight lift effect on hover */
    transition: transform 0.3s ease; /* Smooth transition */
}

.counter span:hover {
/*    color: #0056b3; /* Change color on hover */
}




.feature-items-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 20px;
    background-color: transparent;
    border-radius: 10px;
    margin: 20px 0;
}

.feature-item {
    flex: 1;
    padding: 20px;
    margin: 10px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 10px;
}

.feature-item:not(:last-child) {
    border-right: 1px solid #ddd;
}

.feature-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 16px;
    color: #333;
}

.feature-item li i {
    margin-right: 10px;
    color: #007BFF;
}

.feature-item:not(:last-child) {
    border-right: 1px solid #ddd;
}

.feature-items-container .feature-item:not(:last-child) {
    border-right: 1px solid #ddd;
}

.feature-item:not(:last-child)::after {
    content: "";
    display: block;
    height: 50%;
    border-right: 1px solid #ddd;
    position: relative;
    top: 25%;
}


.hero-section {
    position: relative;
    height: calc(100vh - 100px); /* Adjust height to account for the top bar */
    overflow: hidden;
    /*  top: 50px; /* Move the section down by 50px */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
/*    filter: grayscale(50%) brightness(.5); /* Adjusted brightness */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Lighter overlay */
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -125%);
    color: white;
    font-family: 'Poppins', Arial, sans-serif; 
    text-align: center;
    padding: 20px;
    width: 100%; /* Set the width to make the section wider */
    max-width: 1200px; /* Optional: set a maximum width */
}

.hero-text {
    font-family: Poppins, Arial, sans-serif; /* Font stack */
	color: white;
    font-size: 74px; /* Large text size */
    font-weight: 700; /* Bold text */
    line-height: 1.25;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}

.hero-text .line1 {
    opacity: 0; /* Initially hide the first line */
/*    animation: fadeInLine1 1.5s ease-in forwards; /* Fade in effect with delay */
    animation: slideLeft 1s forwards; /* Animation for sliding in from left */
    animation-delay: 0.25s; /* Delay for the first line */
}

.hero-text .line2 {
    opacity: 0; /* Initially hide the second line */
    animation: slideRight 1s forwards; /* Animation for sliding in from right */
/*    animation: fadeInLine2 1.5s ease-in forwards; /* Fade in effect with delay */
    animation-delay: 0.25s; /* Delay for the second line */
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-image: url('path-to-arrow-icon.png'); /* Replace with your arrow icon */
    background-size: contain;
    background-repeat: no-repeat;
    animation: bounce 2s infinite;
}

/* This class applies the bounce animation */
.bounce {
    display: inline-block;
    animation: bounce 2s infinite;
    color: #fafafa; /* Change chevron color to white */
    font-size: 26px; /* Increase the size of the chevron */
}

/* Define the keyframes for the bounce animation */
@keyframes bounce {
    /* At the start, 10%, and 100% of the animation, the element is at its original position */
    0%, 10%, 100% {
        transform: translateY(0); /* No vertical translation */
    }

    /* At 20% of the animation duration, the element moves up  */
    20% {
        transform: translateY(-5px); /* Move up  */
    }

    /* At 40% of the animation duration, the element moves down  */
    40% {
        transform: translateY(10px); /* Move down */
    }

    /* At 60% of the animation duration, the element moves up  */
    60% {
        transform: translateY(-5px); /* Move up */
    }

    /* At 80% of the animation duration, the element moves down*/
    80% {
        transform: translateY(5px); /* Move down  */
    }
}


@keyframes fadeInLine1 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInLine2 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes turnRed {
  from {
    color: white;
  }
  to {
    color: red;
  }
}

.red-animation {
  animation: turnRed 2s forwards;
}
.hero-button-container {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    justify-content: center;
    align-items: center;
/*    width: 100%;
    height: 100%;
*/
    position: absolute;
    bottom: 0px;
    left: 0;
    transition: opacity 0.1s ease; /* Quick fade effect */
    transform: none;
/*    padding-top: 75px; /* Ensure padding-top is here for consistency */
}

.hero-button-container, .take-course-button {
    opacity: 0; /* Initially hide the button */
    animation: fadeInButton 0.5s ease-in forwards; /* Fade in effect with delay */
    animation-delay: 1.5s; /* Delay for the button */
}

.chevron-container {
    position: absolute; /* Absolute position to place it at the bottom of the viewport */
    bottom: 20px; /* Distance from the bottom of the viewport */
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    opacity: 0; /* Initially hide the chevron */
    animation: fadeInChevron 1.5s ease-in forwards; /* Fade in effect with delay */
    animation-delay: 3.5s; /* Delay for the chevron */
}

@keyframes fadeInButton {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInChevron {
    from { opacity: 0; }
    to { opacity: 1; }
}
.benefit-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    margin: -25px 75px 50px 75px; /* Centering the container */
    max-width: unset;
    /*    box-sizing: border-box;*/
    overflow: visible;
}

.image-column {
    height: 400px;
    overflow: visible;
    background-image: url('/public/images/doctors.png');
    background-color: transparent;
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
    background-position: 75px center;
}

.image-container {
    position: relative;
    height: 400px;
    width: 85%;
/*    background-color: #fafafa; */
    background-image: url('/public/images/digital-heart.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
/*    transform: scale(0.9);*/
    overflow: hidden;
    margin: auto;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    border-radius: 15px; 
}

.image-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/public/images/steps-to-success.png');
    background-color: transparent;
    background-size: cover; /* Ensures the image covers the entire container */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat;
    transform: scale(.9); /* Scale and nudge the image */
/*    transform-origin: center; /* Keep the scaling centered */
}


.benefit-column {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Adds consistent spacing between cards */
    padding: 0px 0;
    box-sizing: border-box; /* Ensure padding and border are included in the width */
}

.benefit-card {
    color: #333;
    font-family: Poppins, Arial, sans-serif;
    background-color: transparent;
    border: 0px solid #ddd;
    padding: 15px 25px;
    margin: 0; /* Remove margin */
    /*    box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 100%; /* Allow it to grow */
    height: 100%;
}

.benefit-card:hover {
    background-color: #f6fbff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.075);
    color: #333;
}

.benefit-card:hover .benefit-icon {
    opacity: 0.2;
}

.benefit-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.benefit-icon {
    font-size: 60px;
    opacity: 0.1;
    color: #7cacf8;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.benefit-content h3 {
    color: #062e6f;
    font-weight: 500;
    font-size: 22px;
    transition: all 0.3s ease;
}

.benefit-content p {
    font-size: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .benefit-container {
        grid-template-columns: 1fr; /* Single column layout on smaller screens */
        gap: 15px; /* Adjust gap for smaller screens */
    }
    .image-column {
        height: 300px; /* Adjust height for smaller screens */
    }
    .benefit-card {
        min-width: 100%; /* Ensure cards take full width on small screens */
    }
}

* {
    outline: 0px solid limegreen !important;
}


.bg-container {
    padding: 40px 0 0 0px;
    width: 100%;
    position: relative;
    min-height: 650px;
    display: flex;
    flex-direction: column; /* Ensure all items are in a column */
    align-items: flex-start; /* Align items to the left */
    justify-content: flex-start; /* Justify items to the left */
    overflow: visible;
}

.bg-container::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 50% 50%, /* Adjust the gradient center here */ /*		rgba(255, 0, 0, 0.95) 0%,  /* Bright red with 95% opacity */ /*		rgba(255, 0, 0, 0) 35%     /* Fully transparent */ /*        rgba(240, 248, 255, 1) 0%,  /* Sky blue with 50% opacity */ /*        rgba(240, 248, 255, 0) 65%    /* Fully transparent */ rgba(255, 255, 255, 0.9) 0%, /* white */ rgba(255, 255, 255, 0) 95% /* Fully transparent */
    );
    /*    pointer-events: none; /* Ensure overlay doesn't block interactions */
    z-index: 1; /* Keep the overlay on top of the content */
}

/* Temporary red dot for debugging */
/*.bg-container::after {
    content: "";
    position: absolute;
    left: calc(30% - 5px); /* Aligns with the 20% horizontal center */
/*    top: calc(40% - 5px); /* Aligns with the 15% vertical center */
/*    width: 10px;
    height: 10px;
    background-color: blue;
    border-radius: 50%; /* Makes the dot circular */
/*    z-index: 2; /* Ensure the dot is visible above the overlay */
/*} */

.bg-container > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items inside the child container to the left */
    text-align: left; /* Align text to the left */
    position: relative;
}


/* Text, Button, and Counters */
.bg-container > * {
    position: relative;
    z-index: 2; /* Place text and buttons above the fade layer */
}


.hero-highlight {
    font-family: Rock Salt, arial, sans-serif;
    letter-spacing: 2px;
    /*background-color: rgba(255, 255, 0, 0.3);*/
    color: #666;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin: 8px auto; /* Add some space below */
}

.subheadline-slide {
    margin: 8px auto 0 auto; /* Remove any default margins */
    font-family: Oswald, Arial, sans-serif;
    font-weight: 900;
    font-size: 80px;
    line-height: 1;
    letter-spacing: -.8px;
    white-space: wrap; /* Prevents text from wrapping */
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for emphasis */
    color: #0067d8;
    /*	background: linear-gradient(to bottom, #1a8dff, #2447c1); /* Light blue to dark blue */
    /*    -webkit-background-clip: text;
    /*    -webkit-text-fill-color: transparent; /* Gradient text effect */
    padding: 0;

}

.hero-take-course-button, .hero-learn-more-button {
    font-family: Poppins, Arial, sans-serif;
    font-size: 22px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.25);
    background-color: #FFB300; /* Inactive Amber color */
    color: #000; /* Darker text color for contrast */
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    padding: 12px 32px;
    font-weight: 400;
    text-decoration: none;
    position: relative;
    z-index: 3;
}

.hero-learn-more-button {
    cursor: pointer;
    color: #666;
    /*    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); */
    background: rgba(229, 243, 255, 0.5); /* Semi-transparent blue tint */
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    position: relative;
    z-index: 3;
}

/* Hover Effects */
.hero-take-course-button:hover,
a.hero-take-course-button:hover {
    background-color: #FFA500; /* Darker on hover */
    color: white; /* Change text color to white */
    box-shadow: 0px 4px 18px rgba(0, 0, 0, 0.35); /* Increased shadow for depth */
}

.hero-learn-more-button:hover,
a.hero-learn-more-button:hover {
    background-color: #cecece; /* Darker on hover */
    color: white; /* Change text color to white */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.25); /* Increased shadow for depth */
}

/* Optional: Style for span.hide-992 on hover */
a.hero-take-course-button:hover span.hide-992 {
    color: #f1f9ff !important;
}


.hero-copy p {
    position: relative;
    color: #000;
    margin: 16px auto 32px auto;
    width: 100%;
    font-family: Poppins, arial, sans-serif;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 400;
    white-space: normal;
}

/* COUNTER SMOOTHER Custom classes for Bootstrap-like transition */
.fade-in {
    transition: opacity 1s ease-in-out;
    opacity: 1 !important;
}

.opacity-0 {
    opacity: 0;
}

/* Social Proof Section */
.social-proof {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    /*    margin-bottom: 0px; */
    margin: 48px 48px 0 0;
}

.testimonial-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px) saturate(150%);
    border-radius: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    height: 46px;
    width: auto;
    border: 2px solid #0037ba;
    padding: 4px 24px;
}

.testimonial-avatars {
    display: flex;
    align-items: center;
}

.avatar {
    border-radius: 50%;
    border: 2px solid #0037ba;
    width: 36px;
    height: 36px;
    margin-left: -20px;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Figtree', Arial, sans-serif;
    color: #0037ba;
}

.rating {
    display: flex;
    margin-top: 2px;
    align-items: center;
    font-size: 12px;
    color: #0037ba;
}

.star {
    color: gold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rating-number {
    margin-left: 8px;
}

.testimonial-count {
    font-family: 'Figtree', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #0037ba;
}


.video-container {
    position: relative;
    display: inline-block;
}

#play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the button */
    cursor: pointer; /* Show pointer cursor */
    width: 150px; /* Adjust width of play button */
    height: 150px; /* Adjust height of play button */
    z-index: 2; /* Ensure it is on top of the video */
    transition: opacity 0.3s ease-in-out; /* Smooth fade-in/fade-out */
}

.hero-underline-image {
    display: block;
    position: absolute;
    width: 72px; /* Adjust width as needed */
    height: 8px;
    top: calc(50% - 10px);
    left: calc(50% + 180px); /* Move it right by 30px */
    z-index: 10;
    opacity: 1;
}

#play-button.hidden {
    opacity: 0;
    pointer-events: none; /* Prevent interaction when hidden */
}

.subheadline-container {
    opacity: 0;
    padding: 0;
    display: flex;
    align-items: flex-end; /* Align the text to the right */
    justify-content: center;
    text-align: right;
    z-index: 1;
    position: relative;
    width: 85%;
}

.subheadline-part1 {
    padding: 0px;
    /*    white-space: nowrap; */
    z-index: 1;
    text-align: right; /* Right-align the first line */
    width: 100%; /* Make sure it spans the full width */
}

.subheadline-line2 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    /*    white-space: nowrap;*/
    z-index: 1;
}

.subheadline-part2 {
    display: inline-block;
    position: relative;
    height: auto; /* Remove the fixed height to allow alignment */
    overflow: hidden;
    vertical-align: middle;
    /*    white-space: nowrap; */
    z-index: 1;
    margin: -4px -12px auto auto;
}

.v-slider-frame-New {
    overflow: hidden;
    display: inline;
    vertical-align: middle;
    z-index: 1;
}

.v-slidesNew {
    list-style: none;
    margin: 0 0.8em 0 0;
    padding: 0;
    z-index: 1;
}

.v-slideNewPT1 {
    font-family: Poppins, arial, sans-serif;
    font-size: 26px;
    padding: 8px 0;
    display: inline;
    text-align: right;
    z-index: 1;
    white-space: nowrap;
    color: black;
    line-height: 1.2; /* Adjust line height to align vertically with text */
}

.v-slideNewPT2 {
    font-family: Rock Salt, arial, sans-serif;
    font-size: 26px;
    padding: 8px 0;
    display: inline;
    text-align: right;
    z-index: 1;
    white-space: nowrap;
    color: red;
    line-height: 1.2; /* Adjust line height to align vertically with text */
}

.subheadline-part3 {
    padding-left: 0px;
    white-space: nowrap;
    z-index: 1;
    vertical-align: middle; /* Vertically align with sliding words */
    line-height: 1.2; /* Ensure line height matches the sliding words */
}


.juxtapose {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600%;
    height: auto;
}

.registration-container {
    display: flex;
    gap: 48px;
    margin: 64px auto 0;
    width: 75%;
}

.headline-section,
.details-section {
    flex: 1;
}

.highlight {
    color: red;
}

#old-training-hassles-container {
    /*  max-width: 600px;*/
    margin: 0 auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#old-training-hassles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#old-training-hassles-list li {
    background: #f4f4f4;
    margin: 8px 0;
    padding: 10px 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: grab;
    transition: background 0.3s ease;
}

#old-training-hassles-list li:hover {
    background: #e0e0e0;
}

#old-training-hassles-list li:active {
    cursor: grabbing;
}




/* Statement Container Styling */

/* Sliding Text Frame */
.sliding-text-frame {
    display: inline; /* Makes the <p> behave like inline text */
    overflow: hidden;
    height: 1.25em; /* Matches the line height for consistent alignment */
    display: block;
    /*    margin-left: 5px; /* Small space between static and sliding text */
    white-space: normal; /* Allow natural wrapping of text */
}

/* Sliding Text List */
.sliding-text-list {
    display: block;
    list-style: none;
    white-space: normal;
    margin: 0;
    padding: 0;
    transition: transform 0.6s ease; /* Smooth sliding transition */
}

/* Sliding Text Item */
.sliding-text-item {
    display: block;
    font-family: Poppins, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25; /* Consistent line height */
    white-space: normal; /* Allow natural wrapping of text */
}

.text-container {
    font-family: Poppins, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}
.rotating-text {
    display: inline;
    white-space: normal;
    font-family: Rock Salt, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5; /* Consistent line height */
    transition: opacity 0.5s ease; /* Smooth transition between words */
}

#typed-handwriting {
    font-family: 'Rock Salt', Arial, sans-serif;
    color: #039;
    letter-spacing: 1px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    display: block;
    white-space: normal;
    min-height: 60px;
}

.typed-fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out; /* Adjust timing as needed */
}

/* Container for the video background */
.video-background-container {
    background-color: #eff4ff; /* Optional background color */
    padding: 100px 0 100px 0; /* Space around the container */
    margin: 0 80px;
    border-radius: 25px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Main flex container: Video + Endorsements */
.video-content-container {
    display: flex;
    gap: 50px; /* Space between video and endorsement section */
    max-width: 1200px;
    margin: auto;
    align-items: stretch; /* Make both columns stretch to the same height */
    justify-content: space-between;
    padding: 0 50px;
}

/* Video Column */
.video-column {
    flex: 1; /* Give more space to the video */
    display: flex;
    max-width: 650px;
    border-radius: 15px;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.video-container {
    border-radius: 15px;
    position: relative; /* For play button positioning */
    width: 100%;
    max-width: 650px; /* Limit video size */
    aspect-ratio: 16 / 9; /* Ensure video remains responsive */
    overflow: hidden; /* Prevent overflow issues */
    margin: 0;
}

/* Play button styling */
/* Play Button Styling */
#play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    width: auto; /* Adjust size as needed */
    transition: opacity 0.1s ease;
}

#play-button:hover {
    content: url('/public/images/playHover.png'); /* Swap image on hover */
}

/* Endorsement Column */
.endorsement-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Space between the grid and other elements */
    padding: 0;
    min-width: 400px;
}

/* Endorsement Grid */
.endorsement-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    grid-auto-rows: 1fr; /* Equal height rows */
    gap: 15px; /* Consistent gap between items */
    width: 100%; /* Full width of column */
    height: 100%;
    margin: 0;
}

/* Individual Endorsement Items */
.endorse-item {
    display: flex;
    justify-content: center;
    align-items: center;
    /*    padding: 10px; */
    background-color: #fafafa;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Placeholder Quote Styling */
.endorse-item-placeholder img {
    max-width: 450px;
    height: auto;
}

/* Placeholder - Double Width */
.endorse-item-placeholder {
    grid-column: 1 / span 2;
    font-size: 24px;
    border: 3px solid #999;
    position: relative;
    border-radius: 50px;
    text-align: center; /* Center the text and image */
}

.underline-image {
    position: absolute;
    width: 100px; /* Adjust width as needed */
    height: auto;
    bottom: -15px; /* Move it down by 20px */
    left: 40px; /* Move it right by 30px */
    z-index: 5;
    opacity: 0.75;
}

/* Logo Styling */
.endorsement-logo {
    height: 75px;
    width: auto;
    /*    filter: grayscale(100%) opacity(0.6);*/
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.endorsement-logo:hover {
    transform: scale(1.1);
    /* filter: grayscale(0%) opacity(1);
    /*   filter: invert(1); /* Invert colors on hover */
}


.happyClients-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 20px; /* Adjust as necessary */
    max-width: 1200px;
    height: 750px;
    margin: 0 auto;
    position: relative;
}

.client-image-column {
    display: flex;
    flex-direction: column;
    gap: 0px; /* Adjust spacing between images */
}

.clientsImage {
    max-width: 160px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.image-container-clients {
    display: flex;
    justify-content: flex-start; /* Default alignment to the left */
    margin-top: -48px; /* Overlap the images by pulling them up */
}

.image-container-clients:nth-child(odd) {
    justify-content: flex-end; /* Push odd images to the right */
}

.text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    margin-top: -20px;
}

.text-column .headline {
    font-size: 2em;
    /*    margin-bottom: 20px; */
}

.text-column .text-div {
    font-size: 1.1em;
}


.headline {
    flex: .25; /* Take up remaining space */
    font-size: 40px;
    text-align: right;
    /*	margin-right: 50px;*/
    /*    padding-bottom: 150px; */
}

.highlighted-text {
    color: red; /* Color for the highlighted "Today!" text */
}

.text-div {
    transition: transform 0.1s ease-out;
    will-change: transform;
    background: rgba(255, 255, 255, 0.6); /* Semi-transparent blue tint */
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    padding: 50px 65px;
    height: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-align: left;
    border-radius: 15px;
    position: relative;
    z-index: 3;
    margin-top: 250px;
}

.text-div p {
    font-family: Poppins, arial, sans-serif;
    font-size: 18px;
    line-height: 1.75;
    font-weight: 400;
    color: #000;
}

.typed-cursor {
    font-weight: 100; /* Make it thin */
    font-size: 1.3em; /* Adjust size if needed */
    color: #000; /* Make sure it matches your text color */
    transform: scaleX(0.5); /* Narrow it down to make it thin */
    display: inline-block;
}

/* Quote styling */
.quote-row p {
    text-align: center;
    color: #000;
    /*    padding: 10px;*/
    font-family: Playfair Display, serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
    z-index: 2;
}

.quote-mark {
    position: absolute;
    width: 55px; /* Adjust size as needed */
    height: auto;
    opacity: 0.5;
}

.quote-mark-left {
    top: -15px;
    left: -10px; /* Adjust these values for perfect positioning */
}

.quote-mark-right {
    bottom: -15px;
    right: -10px; /* Adjust these values for perfect positioning */
    transform: rotate(180deg); /* Flip the second quote mark */
}

/* Style for hiding parts of the border */
.border-hide {
    position: absolute;
    background-color: #fafafa; /* This should match the background color of the container */
}

/* Top-left corner - only the top-left corner will be rounded */
.border-hide-top-left {
    position: absolute;
    top: -3px;
    left: -3px;
    width: 60px; /* Adjust the size of the border hide effect */
    height: 50px;
    background-color: #fafafa; /* Match the container background */
    border-top-left-radius: 30px; /* Adjust radius as needed */
}

/* Bottom-right corner - only the bottom-right corner will be rounded */
.border-hide-bottom-right {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 60px; /* Adjust the size of the border hide effect */
    height: 50px;
    background-color: #fafafa; /* Match the container background */
    border-bottom-right-radius: 30px; /* Adjust radius as needed */
}

.opening-proposition-container{
    padding: 80px 48px 24px 48px;
    background-color: #eff4ff;
    margin-bottom: 120px;
}
.opening-proposition-wrapper {
    background-color: #eff4ff;
    display: flex;
    flex-direction: row;
    width: 85%;
    justify-content: center; /* Center everything horizontally */
    align-items: center; /* Align items vertically */
    margin: 80px auto;
    gap: 56px;
}

/* Calendar Image Styling */
.opening-proposition-image-container {
    flex: 0 0 auto; /* Prevents the image from stretching */
    text-align: center;
    padding: 0;
}

.opening-proposition-calendar-image {
    background-image: url('/public/images/todaysTheDay.jpg'); /* Initial image */
    min-width: 360px; /* Minimum width to prevent collapse */
    min-height: 264px; /* Minimum height */
    border-radius: 16px; /* Rounded corners */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15); /* Subtle shadow */
    background-size: cover; /* Ensure the image covers the div */
    background-position: center; /* Center the image */
    transition: background-image 0.3s ease; /* Smooth transition on hover */
}

.opening-proposition-calendar-image:hover {
    background-image: url('/public/images/todaysCPRToday2.jpg'); /* Change image on hover */
}

.statement-container {
    display: inline-block; /* Makes the <p> behave like inline text */
    align-items: baseline; /* Aligns sliding text with static text baseline */
    font-family: Poppins, Arial, sans-serif;
    font-size: 24px;
    line-height: 1.5;
    white-space: normal; /* Allow natural wrapping of text */
}

.statement-container p {
    align-items: baseline; /* Aligns sliding text with static text baseline */
    font-family: Poppins, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    white-space: normal; /* Allow natural wrapping of text */
    display: inline;
}
.money-back-container{
    position: absolute;
    display: block;
    top: 35px;
    left: 114px;
    transform: rotate(-2.5deg);
    font-family: Rock Salt, arial, sans-serif;
    color: red;
    font-size: 14px;
    text-align: center;
    line-height: 1.2;
}
.search-words-container{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 24px 80px 48px 80px;
    position: relative;
}
