/* Preloader styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1c1c1c; /* Background color matching your layout */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#preloader .spinner {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #555;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

/* Keyframes for the spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hide the body content until the page is fully loaded */
body.loading #content {
    visibility: hidden;
}


body {
    font-family: Arial, sans-serif;
    background-color: #1c1c1c;
    color: white;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: center;
    padding: 1em;
    background-color: #333;
}

.hero {
    background-image: url('hero-bg.jpg');
    background-size: cover;
    color: white;
    padding: 2em;
    text-align: center;
}

/* .hero-content h1 {
    font-size: 2em;
}

.hero-content h2 {
    font-size: 1.5em;
} */

h1 {
    background: linear-gradient(to right, #b26ce4, #ffc371);
    -webkit-background-clip: text;
    color: transparent;
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05); /* Apply text shadow */
}

h3 {
    background: linear-gradient(to right, #b26ce4, #ffc371);
    -webkit-background-clip: text;
    color: transparent;
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05); /* Apply text shadow */
}

section {
    padding: 2em;
}

h3 {
    margin-bottom: 1em;
}

/* General styles for card container and individual cards */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1em; /* Spacing between cards */
}

.card {
    background-color: #333;
    border-radius: 10px;
    padding: 1em;
    text-align: center;
    flex: 1;
    transition: transform 0.3s ease;
}

/* Large card default for large screens */
.large-card {
    flex: 1 1 22%; /* Each large card takes 30% of the width */
    min-width: 22%; /* Set a minimum width */
}

/* Image within large cards */
.large-card img {
    width: 252px;
    height: 327px;
    object-fit: cover;
    border-radius: 0;
}

/* Flex container to ensure equal heights and stacked layout for smaller screens */
.equal-height-cards {
    display: flex;
    align-items: stretch;
    gap: 10px; /* Space between cards */
}

/* Responsive behavior for medium screens (between 629px and 1024px) */
@media (max-width: 1024px) {
    .large-card {
        flex: 1 1 45%; /* Cards take up 45% of the screen on medium-sized screens */
        min-width: 45%; /* Ensures the cards don't get too small */
    }
}

/* Ensure the cards take full width in a column for smaller screens */
@media (max-width: 629px) {
    .equal-height-cards {
        flex-direction: column; /* Stack cards vertically */
        align-items: stretch;   /* Ensure full width for each card */
    }

    /* Make each card fill the width and stack */
    .equal-height-cards .card {
        flex: 1 1 100%;  /* Make the cards take full width */
        margin-bottom: 20px; /* Add space between stacked cards */
    }

    /* Ensure the PayPal card goes under the first card */
    .paypal-card {
        order: 2; /* Ensure the PayPal card is stacked second */
    }

    /* Ensure the rest of the cards stack under PayPal */
    .large-card {
        flex: 1 1 100%;  /* Make the cards take full width */
        margin-bottom: 20px; /* Add space between stacked cards */
    }
}



/* Keep the zoom effect for all other cards */
.card.large-card:hover {
    transform: scale(1.05); 
}

/* Remove zoom effect for first card and for PayPal container*/
.equal-height-cards .card.large-card:first-of-type:hover {
    transform: none; 
}

.equal-height-cards .paypal-card:hover {
    transform: none; /* Disable zoom effect */
}

/* Keyframes for the glowing animation */
@keyframes glowing {
    0% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.4), 0 0 10px rgba(255, 215, 0, 0.4);
        /* transform: scale(1.0); */
    }
    
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.8);
        /* transform: scale(1.05); */
    }
    
    100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.4), 0 0 10px rgba(255, 215, 0, 0.4);
        /* transform: scale(1.0); */
    }
}

/* Apply glowing effect and animation when hovering over the first card */
.equal-height-cards .card.large-card:first-of-type:hover + .paypal-card .paypal-container {
    animation: glowing 1.5s infinite; /* Apply the glowing animation */
    transition: box-shadow 0.3s ease-in-out; /* Smooth transition */
    /* transform: scale(1.05); */
}









.small-card {
    flex: 1 1 14%;
    min-width: 14%;
}

.card img {
    max-width: 100%;
}

.card h4 {
    margin: 0.5em 0;
}

.card p {
    font-size: 0.9em;
    color: #ccc;
}

.card span {
    font-size: 0.8em;
    color: #aaa;
}

footer {
    background-color: #333;
    padding: 1em;
    text-align: center;
}

footer .tabs {
    display: flex;
    justify-content: center;
    gap: 0.5em;
}

footer .tabs button {
    background-color: #444;
    border: none;
    border-radius: 5px;
    padding: 0.5em 1em;
    color: white;
    cursor: pointer;
}

footer .tabs button:hover {
    background-color: #555;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #f0f0f0;
}

/* PayPal container styling for top-right corner */
/* Ensure no global margins or paddings affect the layout */
/* Ensure no global margins or paddings affect the layout */
body, main, section {
margin: 10px;
padding: 10px;
}

/* General card styling */
.cards.large-cards {
display: flex;
flex-wrap: wrap;
gap: 1em;
}

.card.large-card {
background-color: #333;
border-radius: 10px;
padding: 1em;
text-align: center;
flex: 1 1 22%; /* Base flex-basis */
transition: transform 0.3s ease;
box-sizing: border-box;
}

.card.large-card img {
width: 100%;
height: auto;
object-fit: cover;
border-radius: 0;
}

.card:hover {
transform: scale(1.05);
}

/* Specific styling for the narrower <PayPal> card */
.paypal-card {
flex: 0 0 400px; /* Fixed width */
max-width: 400px; /* Ensure it doesn't exceed 200px */
min-width: 150px; /* Prevent it from becoming too small */
box-sizing: border-box; /* Include padding in width */
padding: 1em; /* Optional: Adjust padding as needed */
margin: 0 auto; /* Center the card within the flex container */
}

/* Ensure the image inside the PayPal card fits the card's width */
.paypal-card .image-window img {
width: 100%; /* Fit the card's width */
height: auto; /* Maintain aspect ratio */
object-fit: cover; /* Ensure image fills the container */
}

/* Styling for the PayPal container within the PayPal card */
.paypal-container {
background-color: #ffffff;
color: #333;
padding: 10px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 300px; /* Make it narrower */
margin: 10px auto 0; /* Center it within the card and add top margin */
box-sizing: border-box;
}

/* Limit the width of the PayPal button container */
#paypal-button-container-P-53R964555F9118415M3YB4VQ {
margin: 0 auto;
width: 100%;
max-width: 180px; /* Ensure the button container doesn't exceed 180px */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 800px) {
.paypal-card {
flex: 1 1 100%; /* Make the card take full width on small screens */
max-width: 100%;
}

.paypal-container {
max-width: 100%; /* Allow the PayPal container to take full width on small screens */
}

#paypal-button-container-P-53R964555F9118415M3YB4VQ {
max-width: 100%; /* Ensure the PayPal button fits within the container */
}
}

.card.large-card h2, 
.card.large-card p, 
.card.large-card span {
text-align: justify; /* Justifies text inside the h4, p, and span tags */
}


/* Preloader styles */
#preloader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #1c1c1c; /* Background color matching your layout */
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}

#preloader .spinner {
border: 8px solid #f3f3f3;
border-radius: 50%;
border-top: 8px solid #555;
width: 60px;
height: 60px;
animation: spin 1s linear infinite;
}

/* Keyframes for the spinner animation */
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

/* Hide the body content until the page is fully loaded */
body.loading #content {
visibility: hidden;
}

/* Styling the copy button and input */
.model-identifier-container {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-identifier-container input {
    position: absolute;
    left: -9999px; /* Hide the input from view */
}

.copy-btn {
    background-color: #555; /* Button background matching the page style */
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background-color: #777; /* Lighter color on hover */
}

/* Optional: Add some visual flair */
.copy-btn:active {
    background-color: #333;
    box-shadow: 0 2px #666;
    transform: translateY(2px); /* Slight click effect */
}

/* General header styles */
.floating-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Semi-transparent background */
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    backdrop-filter: blur(10px); /* Glass-like effect */
}

.header-left {
    flex: 1;
}

.site-logo {
    width: 50px;
    height: auto;
}

/* Center the navigation links */
.nav-bar {
    flex: 2;
    text-align: center;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    gap: 30px; /* Space between links */
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff5f6d; /* Hover color */
}

/* Social media icons on the right */
.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.social-icon {
    width: 24px;
    height: auto;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.7; /* Fades on hover */
}

/* Hamburger menu for mobile */
.hamburger-menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    cursor: pointer;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}

/* Mobile menu (hidden initially) */
.mobile-menu {
    display: none;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    padding-top: 50px;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
}

.mobile-nav-links li {
    margin-bottom: 20px;
}

.mobile-nav-links a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide main nav links */
    }

    .hamburger-menu {
        display: flex; /* Show hamburger menu on mobile */
    }
}

/* Display mobile menu when hamburger is clicked */
.hamburger-menu.active ~ .mobile-menu {
    display: block;
}

/* Responsive design for site logo and social icons */
@media (max-width: 480px) {
    .site-logo {
        width: 40px;
    }

    .social-icon {
        width: 20px;
    }
}

/* General header styles */
.floating-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    overflow: hidden; /* Prevent overflow */
    box-sizing: border-box;
    height: 40px;
}

/* Left: Logo */
.header-left {
    flex: 1; /* Ensure the logo takes up its space */
}

.site-logo {
    width: 25px;
    height: auto;
}

/* Center: Navigation (ensures titles are centered) */
.nav-bar {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 40px; /* Increase gap between menu items */
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff5f6d;
}

/* Right: Social Icons */
.header-right {
    flex: 1; /* Keep space for social icons */
    display: flex;
    justify-content: flex-end; /* Align icons to the right */
    align-items: center;
    gap: 15px;
    overflow: hidden;
}

.social-icon {
    width: 25px;
    height: 25px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.7;
}

/* Hamburger menu for mobile */
.hamburger-menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: absolute;
    right: 20px; /* Align to the right */
    top: 15px; /* Proper spacing from top */
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.4s;
}

/* Mobile menu (hidden initially) */
.mobile-menu {
    display: none;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    padding-top: 50px;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
}

.mobile-nav-links li {
    margin-bottom: 20px;
}

.mobile-nav-links a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

/* Show social icons inside the mobile menu */
.mobile-nav-links .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide the main nav links */
    }

    .header-right {
        display: none; /* Hide the social icons from the header on mobile */
    }

    .hamburger-menu {
        display: flex; /* Show hamburger menu on mobile */
    }

    /* Show the mobile menu when the hamburger is clicked */
    .hamburger-menu.active ~ .mobile-menu {
        display: block;
    }

    .mobile-nav-links .social-icons {
        display: flex; /* Show social icons inside the mobile menu */
    }

    /* Resize the logo for mobile */
    .site-logo {
        width: 15px;
    }
}

/* Even smaller screens (max-width: 480px) */
@media (max-width: 480px) {
    .floating-header {
        padding: 10px;
    }

    .nav-bar {
        text-align: left; /* Align the collapsed nav left */
    }

    .site-logo {
        width: 15px;
    }

    .social-icon {
        width: 18px;
    }
}

/* Container for the background image */
.background-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Full height of the viewport */
    z-index: -1; /* Lower z-index to ensure it stays behind */
    overflow: hidden; /* Hide any overflow if the image is large */
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top of everything else */
}

#loading-message {
    text-align: center;
    color: white;
}

#loading-message img {
    width: 250px;
    height: 250px;
    margin-bottom: 20px;
}

a.custom-link {
    color: inherit; /* Inherit the color from the parent element */
    font-size: inherit; /* Inherit the font size from the parent element */
    text-decoration: underline; /* Keep the underline */
    text-decoration-color: currentColor; /* Ensure underline matches the text color */
    text-decoration-thickness: 1px; /* You can adjust the thickness of the underline if needed */
}

a.custom-link:hover {
    color: inherit; /* Keep the same color on hover */
    text-decoration: underline; /* Keep the underline on hover */
}


@keyframes ldio-x2uulkbinbj-1 {
  0% { top: 45px; height: 160px }
  50% { top: 75px; height: 100px }
  100% { top: 75px; height: 100px }
}
@keyframes ldio-x2uulkbinbj-2 {
  0% { top: 52.49999999999999px; height: 145.00000000000003px }
  50% { top: 75px; height: 100px }
  100% { top: 75px; height: 100px }
}
@keyframes ldio-x2uulkbinbj-3 {
  0% { top: 60px; height: 130px }
  50% { top: 75px; height: 100px }
  100% { top: 75px; height: 100px }
}
.ldio-x2uulkbinbj div { position: absolute; width: 45px }.ldio-x2uulkbinbj div:nth-child(1) {
  left: 40px;
  background: #b96bdd;
  animation: ldio-x2uulkbinbj-1 1s cubic-bezier(0,0.5,0.5,1) infinite;
  animation-delay: -0.2s
}
.ldio-x2uulkbinbj div:nth-child(2) {
  left: 102.5px;
  background: #ff6367;
  animation: ldio-x2uulkbinbj-2 1s cubic-bezier(0,0.5,0.5,1) infinite;
  animation-delay: -0.1s
}
.ldio-x2uulkbinbj div:nth-child(3) {
  left: 165px;
  background: #ff9945;
  animation: ldio-x2uulkbinbj-3 1s cubic-bezier(0,0.5,0.5,1) infinite;
  animation-delay: undefineds
}

.loadingio-spinner-pulse-nq4q5u6dq7r {
  width: 250px;
  height: 250px;
  display: inline-block;
  overflow: hidden;
  background: none;
}
.ldio-x2uulkbinbj {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transform-origin: 0 0; /* see note above */
}
.ldio-x2uulkbinbj div { box-sizing: content-box; }

/* Position the Clerk #app button on the right below the header for desktop */
#app {
    position: fixed; /* Ensures the button stays fixed in the corner */
    top: 80px;       /* Keep the top margin to maintain some space from the top */
    right: 50px;     /* Position the button 20px from the right edge */
    z-index: 10000;  /* Ensure it's above other elements */
}

/* Adjust Clerk app positioning for mobile devices */
@media (max-width: 768px) {
    #app {
        position: relative; /* Positions it relative to the flow of the document */
        top: auto;
        right: auto;
        margin-top: 5px; /* Adjust spacing if needed */
        margin-left: 20px; /* Align it under the hamburger menu */
    }
}

.consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    padding: 5px 15px; /* Reduced padding to make the bar shorter */
    display: none; /* Hide the bar by default */
    justify-content: flex-start; /* Align items to the left */
    align-items: center;
    z-index: 1000;
    height: 50px; /* Set a fixed height for a shorter bar */
    box-sizing: border-box; /* Ensures padding is included in the height */
}

.consent-bar p {
    margin-right: 15px; /* Adjusted margin for spacing */
    font-size: 14px; /* Reduced font size to make the text more compact */
    color: #333;
}

.consent-bar label {
    margin-right: 8px; /* Space between buttons */
    font-size: 13px; /* Slightly smaller font for labels */
    color: #333;
}

.consent-bar input {
    margin-right: 5px; /* Slight space between checkbox and label text */
}
