/* Set background color for the entire page with a fallback */
html,
body {
    background-color: #ece0d2;
    /* Light yellow background */
    color: #333;
    /* Ensure text has good contrast */
    margin: 0;
    /* Remove any default browser margin */
    padding: 0;
    /* Remove default padding */
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    /* Optional: set a readable font */
    line-height: 1.6;
    /* Optional: improve text spacing */
    scroll-behavior: smooth;
}

/* Apply this to all anchor targets */
#home,
#ytube,
#insta,
#faqs {
    scroll-margin-top: 5rem !important;
    /* Adjust based on your fixed bar's height */
}

@font-face {
    font-family: 'Retrosans';
    src: url('../fonts/Retrosans.woff2') format('woff2'),
        url('../fonts/Retrosans.woff') format('woff'),
        url('../fonts/RetroSans.ttf') format('truetype');
    /* Last resort */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/Opensans.woff2') format('woff2'),
        url('../fonts/Opensans.woff') format('woff'),
        url('../fonts/OpenSans.ttf') format('truetype');
    /* Last resort */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans-Bold';
    src: url('../fonts/Opensans-Bold.woff2') format('woff2'),
        url('../fonts/Opensans-Bold.woff') format('woff'),
        url('../fonts/OpenSans-Bold.ttf') format('truetype');
    /* Last resort */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans-SemiBold';
    src: url('../fonts/Opensans-SemiBold.woff2') format('woff2'),
        url('../fonts/Opensans-SemiBold.woff') format('woff'),
        url('../fonts/OpenSans-SemiBold.ttf') format('truetype');
    /* Last resort */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UnitedKings';
    src: url('../fonts/UnitedKings.woff2') format('woff2'),
        url('../fonts/UnitedKings.woff') format('woff'),
        url('../fonts/UnitedKings.otf') format('truetype');
    /* Last resort */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Headings: Use bold */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    font-family: 'Retrosans', Arial, Helvetica, sans-serif;
    /* Optional: set a readable font */
}

h2 {
    font-size: 2.5rem;
}

/* Paragraphs: Use regular */
p {
    font-weight: 400;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    /* Optional: set a readable font */
}

/* Links: Make them stand out */
a {
    font-weight: 500;
}

/* Add fallback background in case of older browsers */
body {
    background-color: #ffffff;
    /* Slightly off-white fallback */
}

/* Change text highlight color */
::selection {
    background-color: #ec6f37;
    /* Highlight color */
}

/* Navbar background color and shadow */
.navbar {
    background-color: #ece0d2;
    /* Set navbar background */
    box-shadow: 1px 1px 4px rgba(31, 65, 75, 1);
    /* Subtle shadow */
}

.navbar img {
    border-radius: 0;
}

/* Ensure contrast for navbar links */
.navbar .nav-link {
    color: #202020;
    /* Dark text for readability */
    font-weight: 700;
    vertical-align: middle;
    /* Aligns with text */
    padding: 0.75rem 1.15rem;
    /* Adjust padding for rectangular shape */
    margin-right: 1em;
    font-family: 'OpenSans-SemiBold', Arial, Helvetica, sans-serif;
    /* Optional: set a readable font */
}

.navbar .nav-link:hover {
    color: #5f9a98;
}

.navbar .nav-link.active {
    color: #5f9a98;
}

/* Style the navbar logo */
.navbar-logo {
    height: 4rem;
    /* Adjust height as needed */
    width: auto;
    /* Maintain aspect ratio */
    display: inline-block;
    /* Ensure it behaves properly in inline contexts */
    vertical-align: middle;
    /* Aligns with text */
}

/* Set the hero section background color */
#hero {
    background-color: #ece0d2;
    margin-top: 7rem;
}

/* Set the hero section background color */
#hero-reverse {
    background-color: #1f414b;
}

.hero-reverse {
    background-color: #1f414b;
}

#youtube,
#instagram,
#podcast,
#bbc {
    background-color: #ece0d2;
}

.youtube {
    background-color: #ece0d2;
}

#youtube h2,
#instagram h2 {
    color: #1f414b;
}

#faq {
    background-color: #1f414b;
}

#faq h2,
#faq p {
    color: #ece0d2;
}

#heading {
    background-color: #ece0d2;
    margin-top: 7rem;
}

/* Set the input section background color and parameters */
#inputsection {
    background-color: #f1f0eb;
    color: #000000;
}

#latest,
#latest-2,
#latest-3 {
    margin-left: 0rem;
    padding-left: 2rem;
    color: #ece0d2;
}

@media (max-width: 768px) {

    #latest,
    #latest-2,
    #latest-3 {
        padding-left: 0;
        /* Remove left padding */
        padding-top: 3rem;
        /* Add top padding */
        color: #ece0d2;
    }
}

@media (max-width: 555px) {

    #latest,
    #latest-2,
    #latest-3 {
        padding-left: 0.75rem;
        /* Remove left padding */
        padding-top: 3rem;
        /* Add top padding */
        color: #ece0d2;
    }
}

/* Optional: Add some contrast to the text */
#hero h1,
#hero p {
    color: #333;
    /* Darker text color for better readability */
}

/* Optional: Add some contrast to the text */
#hero-reverse h1,
#hero-reverse p {
    color: #ece0d2;
    /* Darker text color for better readability */
}

#hero h1 {
    font-weight: 700;
    color: #1f414b;
}

#heading h1 {
    font-weight: 700;
    font-size: 2.5rem;
}

/* If the hero section contains links or buttons, ensure visibility */
#hero a {
    color: #f1f0eb;
    /* Example: Set link color for contrast */
}

.henry {
    font-family: 'UnitedKings', Arial, Helvetica, sans-serif;
    /* Optional: set a readable font */
    font-size: 2rem;
}

.card {
    border-radius: 2rem;
    /* Adjust to your preference */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle drop shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* Smooth transition for hover effects */
    display: flex;
    flex-direction: column;
    /* Stack content vertically */
    justify-content: space-between;
    /* Ensure consistent spacing */
    height: 100%;
    /* Ensure consistent height across cards */
}

.card-body {
    display: flex;
    flex-direction: column;
    /* Ensure elements inside are stacked */
    flex-grow: 1;
    /* Make the body take up available space */
}

.card-text {
    flex-grow: 1;
    /* Allow the text to push the button down */
}

.btn-watch {
    align-self: flex-start;
    /* Align button at the bottom */
    margin-top: auto;
    /* Push the button to the bottom */
}

.btn-listen {
    width: 100%;
    /* Bootstrap’s w-100 does the same */
    margin-top: auto;
    /* Only needed if inside a flex container */
    text-align: center;
    /* Ensures icon + text are centered */
}

.card img {
    border-top-left-radius: 0.7rem;
    border-top-right-radius: 0.7rem;
}

.card-title {
    font-size: 1.75rem;
    color: #1f414b;
}

.card:hover {
    transform: translateY(-4px);
    /* Slight lift effect on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    /* Slightly stronger shadow on hover */
}

.featured-logos {
    margin-top: 1.5rem;
}

.featured-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 140px;
    padding: 1rem;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.featured-logo-wrap:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.featured-logo {
    max-width: 150px;
    max-height: 150px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(91%) sepia(15%) saturate(221%) hue-rotate(334deg) brightness(97%) contrast(91%);
    display: block;
    border-radius: 16px;
}

/* Style for the Subscribe button */
.btn-subscribe {
    background-color: #000000;
    /* Black background */
    color: #ffffff;
    /* White text */
    border: 2px solid #000000;
    /* Black border for consistency */
    padding: 0.75rem 1.15rem;
    /* Adjust padding for rectangular shape */
    font-weight: 700;
    /* Bold text */
    font-size: 1rem;
    /* Adjust font size */
    margin-left: 15px;
    /* Space between button and other navbar items */
    text-decoration: none;
    /* Remove underline */
    transition: background-color 0.3s ease;
    /* Smooth hover transition */
    vertical-align: middle;
    /* Aligns with text */
    border-radius: 2rem;
    font-family: 'OpenSans-SemiBold', Arial, Helvetica, sans-serif;
    /* Optional: set a readable font */
}

/* Hover effect for the Subscribe button */
.btn-subscribe:hover {
    background-color: #5f9a98;
    /* White background on hover */
    color: #000000;
    /* Black text on hover */
}

/* Style for the Watch and Listen buttons */
.btn-watch,
.btn-listen {
    background-color: #1f414b;
    /* Black background */
    color: #ffffff;
    /* White text */
    border: 2px solid #1f414b;
    /* Black border for consistency */
    padding: 0.5rem 0.75rem;
    /* Adjust padding for rectangular shape */
    font-weight: 700;
    /* Bold text */
    font-size: 1rem;
    /* Adjust font size */
    text-decoration: none;
    /* Remove underline */
    transition: background-color 0.3s ease;
    /* Smooth hover transition */
    vertical-align: middle;
    /* Aligns with text */
    border-radius: 2rem;
    font-family: 'OpenSans-SemiBold', Arial, Helvetica, sans-serif;
    /* Optional: set a readable font */
}

.btn-watch:hover {
    background-color: #5f9a98;
    /* White background on hover */
    color: #000000;
    /* Black text on hover */
}

.btn-listen:hover {
    background-color: #5f9a98;
    /* White background on hover */
    color: #000000;
    /* Black text on hover */
}

/* Style for the Follow button */
.btn-follow {
    background-color: #ece0d2;
    /* Black background */
    color: #1f414b;
    /* White text */
    border: 2px solid #ece0d2;
    /* Black border for consistency */
    padding: 0.5rem 0.75rem;
    /* Adjust padding for rectangular shape */
    font-weight: 700;
    /* Bold text */
    font-size: 1rem;
    /* Adjust font size */
    text-decoration: none;
    /* Remove underline */
    transition: background-color 0.3s ease;
    /* Smooth hover transition */
    vertical-align: middle;
    /* Aligns with text */
    border-radius: 2rem;
    font-family: 'OpenSans-SemiBold', Arial, Helvetica, sans-serif;
    /* Optional: set a readable font */
    margin-top: 1rem;
}

/* Hover effect for the Reserve button */
.btn-follow:hover {
    background-color: #5f9a98;
    /* White background on hover */
    color: #000000;
    /* Black text on hover */
}

.video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    /* Adjust to your preference */
    overflow: hidden;
    /* Ensures content inside doesn't overflow outside the rounded corners */
    border: none;
    /* Optional: Removes default border */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle drop shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* Smooth transition for hover effects */
}

.modal-title {
    font-size: 2rem;
    color: #1f414b;
}

.iframe-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shorts-wrapper {
    width: 100%;
    height: auto;
    max-width: 315px;
    /* Maintain original aspect ratio */
    aspect-ratio: 315 / 560;
    /* Preserve aspect ratio */
    border-radius: 1rem;
    /* Adjust to your preference */
    overflow: hidden;
    /* Ensures content inside doesn't overflow outside the rounded corners */
    border: none;
    /* Optional: Removes default border */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle drop shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* Smooth transition for hover effects */
}

.shorts-wrapper:hover {
    transform: translateY(-4px);
    /* Slight lift effect on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    /* Slightly stronger shadow on hover */
}

.accordion-item {
    border: none;
    /* Remove default Bootstrap accordion border */
    background-color: #1f414b;
    color: #ece0d2;
}

.accordion-header {
    padding: 1rem 0;
    color: #ece0d2;
}

.accordion-body {
    padding: 2rem 0;
    background-color: #1f414b;
    color: #ece0d2;
}

.accordion hr {
    border: 1px solid #ece0d2;
    color: #ece0d2;
    margin: 0;
}

.accordion .btn {
    text-decoration: none;
    /* Removes underline */
    color: #ece0d2;
}

.accordion .btn b {
    font-size: 1.2rem;
    color: #ece0d2;
}

.accordion-body p {
    text-align: left;
    /* Ensures text inside the <p> is flush left */
    color: #ece0d2;
}

/* Change the color of the <hr> */
.accordion hr {
    border-color: #ece0d2 !important;
}

/* Change the color of the button text */
.accordion .btn.btn-link {
    color: #ece0d2 !important;
    font-family: 'OpenSans-SemiBold', Arial, Helvetica, sans-serif;
    /* Optional: set a readable font */
    font-size: 1.5rem;
}

/* Change the color of the button icon */
.accordion .btn.btn-link i {
    color: #ece0d2 !important;
}


@media (max-width: 768px) {
    .focus-column {
        padding-top: 2rem;
    }
}

#submitButton {
    background-color: #1f414b;
    /* Black background */
    color: #ffffff;
    /* White text */
    border: 2px solid #1f414b;
    /* Black border for consistency */
    padding: 0.75rem 1.15rem;
    /* Adjust padding for rectangular shape */
    font-weight: 700;
    /* Bold text */
    font-size: 1rem;
    /* Adjust font size */
    margin-left: 15px;
    /* Space between button and other navbar items */
    text-decoration: none;
    /* Remove underline */
    transition: background-color 0.3s ease;
    /* Smooth hover transition */
    vertical-align: middle;
    /* Aligns with text */
    border-radius: 2rem;
    font-family: 'OpenSans-SemiBold', Arial, Helvetica, sans-serif;
    /* Optional: set a readable font */
}

#submitButton:hover {
    background-color: #ec6f37;
    /* White background on hover */
    color: #1f414b;
    /* Black text on hover */
}

#submitButton:disabled {
    background-color: #d6d6d6;
    /* Light grey for disabled */
    cursor: not-allowed;
}


/* Increase the size of social media icons */
.navbar-bottom .nav-link i {
    font-size: 2rem;
    /* Adjust the size as needed (e.g., 1.5rem = 24px) */
    margin-left: 1rem;
    margin-right: 1rem;
    transition: transform 0.2s ease;
    /* Optional: Add a hover animation */
}

/* Optional: Slightly enlarge icons on hover for better interactivity */
.navbar-bottom .nav-link:hover i {
    transform: scale(1.2);
    /* Enlarge the icon by 20% */
}

.lead {
    margin-bottom: 1em;
}

/* a[href*="elfsight.com"] {
    display: none !important;  Forcefully hide the element 
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    z-index: -1 !important;
    background-color: #ece0d2 !important;
}*/

.eapps-instagram-feed-container {
    border-radius: 1rem;
    /* Adjust to your preference */
    overflow: hidden;
    /* Ensures content inside doesn't overflow outside the rounded corners */
    border: none;
    /* Optional: Removes default border */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle drop shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* Smooth transition for hover effects */
    background-color: #ece0d2 !important;
}

.es-header-user-full-name {
    display: none !important;
    /* Forcefully hide the element */
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    z-index: -1 !important;
}

#eapps-instagram-feed-1 a.eapps-instagram-feed-header-follow-button,
#eapps-instagram-feed-1 a.eapps-instagram-feed-header-follow-button:hover {
    background: rgb(236, 95, 55) !important;
}

#element {
    background: #ece0d2 !important;
}

#playlist-img,
#playlist-img-2 {
    border-radius: 1rem;
    /* Adjust to your preference */
    overflow: hidden;
    /* Ensures content inside doesn't overflow outside the rounded corners */
    border: none;
    /* Optional: Removes default border */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle drop shadow */
}

footer {
    position: relative;
    /* Ensure the image is relative to the footer */
    height: auto;
    /* Dynamically adjust the height based on content */
}

.footerimage {
    position: absolute;
    bottom: 0 !important;
    left: 0 !important;
    margin-left: -4rem;
    margin-bottom: -8.25rem;
    height: auto;
    /* Maintain aspect ratio */
    opacity: 0.8;
    /* Optional transparency */
    pointer-events: none;
    /* Prevent interference with clicks */
    z-index: 1 !important;
}

@media (max-width: 1300px) {
    .footerimage {
        height: 50%;
        margin-left: -2.2rem;
        margin-bottom: -4.4rem;
    }
}

@media (min-width: 768px) and (max-width: 999px) {
    .btn-survey {
        display: none !important;
    }
}

@media (max-width: 768px) {

    /* If using an <img> tag */
    .footerimage {
        display: none;
    }
}

@media (max-width: 999px) {
    .btn-startnow {
        width: 100%;
    }

    .btn-requestcode {
        width: 100%;
    }

    .colscript {
        display: none;
    }
}

/* Style for the links container */
.subfooter-links {
    position: absolute;
    /* Position it within the footer */
    bottom: 20px;
    /* Distance from the bottom of the footer */
    right: 20px;
    /* Distance from the right side */
    display: flex;
    flex-direction: column;
    /* Stack links vertically */
    gap: 10px;
    /* Space between links */
    text-align: right;
    /* Align text to the right */
}

/* Style for individual links */
.subfooter-link {
    color: #ffffff;
    /* Bootstrap-like link color */
    text-decoration: none;
    font-size: 0.9rem;
    /* Slightly smaller font size */
    font-weight: 500;
    /* Medium weight for professionalism */
    transition: color 0.3s ease;
    /* Smooth hover effect */
}

/* Hover effect for links */
.subfooter-link:hover {
    color: #0056b3;
    /* Darker shade of blue */
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .subfooter-links {
        position: static;
        /* Remove absolute positioning */
        margin: 10px 0 0 0;
        /* Add some margin for spacing */
        text-align: center;
        /* Center the text */
        flex-direction: row;
        /* Display links inline */
        gap: 20px;
        /* Add spacing between links */
        justify-content: center;
        /* Center align the links */
    }
}

.accordion-item {
    border: none;
    /* Remove default Bootstrap accordion border */
}

.accordion-header {
    padding: 1rem 0;
}

.accordion-body {
    padding: 2rem 0;
    color: #000000;
}

.accordion hr {
    border: 1px solid black;
    color: #000;
    margin: 0;
}

.accordion .btn {
    text-decoration: none;
    /* Removes underline */
}

.accordion .btn b {
    font-size: 1.2rem;
}

.accordion-body p {
    text-align: left;
    /* Ensures text inside the <p> is flush left */
}

@media (max-width: 768px) {
    .focus-column {
        padding-top: 2rem;
    }
}

.custom-form-container {
    text-align: left;
    /* Align all content to the left */
}

.custom-form-container .form-floating,
.custom-form-container .form-check,
.custom-form-container .form-select,
.custom-form-container button {
    text-align: left;
    margin: 0;
    /* Prevent unwanted centering */
}

.custom-form-container .form-check-label {
    text-align: left;
}

.custom-form-container .d-grid {
    justify-content: flex-start;
    /* Align submit button to the left */
}

/* Change the background when checked */
.form-check-input:checked {
    background-color: #00a5b2;
    /* Blue fill for checked state */
    border-color: #00a5b2;
    /* Darker blue border */
}

/* Focus state */
.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 165, 178, 0.25);
}

/* Input and select fields */
.form-control:focus,
.form-select:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 165, 178, 0.25) !important;
    /* Custom teal-blue focus shadow */
    border-color: #00a5b2 !important;
    /* Teal border */
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Checkboxes and switches */
.form-check-input:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 165, 178, 0.25) !important;
    /* Custom teal-blue focus shadow */
    border-color: #00a5b2 !important;
    /* Optional: Adjust for consistent style */
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Smooth transition for all form controls */
.form-control,
.form-select,
.form-check-input {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Remove rounded corners from all inputs, textareas, and selects */
input,
textarea,
select {
    border-radius: 0;
    /* Remove rounded corners */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    background-size: 60%;
    /* Adjust the arrow size relative to the circle */
}

.lb-outerContainer {
    border-radius: 1rem !important;
}

.lightbox .lb-image {
    border-radius: 1rem !important;
}

.card {
    border: 1px solid #ddd;
    border-radius: 12px;
    /* Adjust for more/less rounding */
    background-color: #f9f9f9;
    /* Subtle background */
}

.card h3 {
    color: #333;
    /* Optional: Accent color for the title */
}

#errorimage {
    border-radius: 2rem;
    /* Adjust to your preference */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle drop shadow */
}

audio.custom-audio {
    border-radius: 0.5rem;
    outline: none;
}

/* Optional: apply to the controls on WebKit browsers */
audio.custom-audio::-webkit-media-controls-panel {
    border-radius: 0.5rem;
    background-color: #ece0d2;
}
