:root {
    --primary-color: #6610f2;
    --secondary-color: #6c757d;
}

[data-bs-theme="dark"] {
    --primary-color: #8561f2;
    --secondary-color: #adb5bd;
}

.glass {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

#themeSwitcher {

    border: none;
    transition: background-color 0.3s, color 0.3s;
}

#themeSwitcherIcon {
    font-size: 1.5rem;
}

button.theme-switcher:hover {
    box-shadow: none;
}

[data-bs-theme="dark"] .theme-switcher {
    color: #fff;
}

[data-bs-theme="light"] header {
    background-color: rgba(246, 246, 246, 0.27);
    color: black;
}

[data-bs-theme="dark"] header {
    background-color: rgba(128, 128, 128, 0.25);
    color: white;
}

button.theme-switcher:hover {
    transform: rotate(180deg);
    transition: transform 0.5s ease-in-out;
}




h1,
h2,
h3 {
    font-weight: 600;
}

p {
    font-weight: 300;
}

/* Light Mode Header */
[data-bs-theme="light"] header {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.8), rgba(222, 222, 222, 0.5));
    color: black;
    backdrop-filter: blur(10px);
    /* Subtle blur effect */
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.5s ease, color 0.5s ease;
}

/* Dark Mode Header */
[data-bs-theme="dark"] header {
    background: linear-gradient(120deg, rgba(24, 24, 24, 0.3), rgba(64, 64, 64, 0.5));
    color: white;
    backdrop-filter: blur(10px);
    /* Subtle blur effect */
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.5s ease, color 0.5s ease;
}

.toast {
    background-color: rgba(0, 0, 0, 0.8);
    /* Dark background */
    color: #fff;
    /* White text */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    /* Subtle shadow */
}

.toast.success {
    background-color: #28a745;
    /* Green for success */
}

.toast.error {
    background-color: #dc3545;
    /* Red for error */
}

button {
    transition: all 0.3s ease-in-out;
    transform: scale(1);
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(102, 16, 242, 0.3);
    /* Add a glowing shadow */
}

#scrollToTop {
    display: none; /* Hidden initially */
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background-color: var(--primary-color); /* Use primary color */
    color: #fff; /* Ensure white text */
    transition: opacity 0.3s ease-in-out, background-color 0.3s ease;
    border: none; /* Remove border for a cleaner look */
}

#scrollToTop:hover {
    background-color: var(--secondary-color); /* Hover with secondary color */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

#scrollToTop.show {
    display: block;
    /* Show button when scrolling */
    opacity: 1;
}

#scrollToTop i {
    font-size: 24px; /* Adjust icon size */
}

.card {
    transition: box-shadow 0.3s ease; /* Removed transform effect */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 20px rgba(102, 16, 242, 0.3); /* Always apply the shadow */
}


/* Static gradient effect */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 16, 242, 0.1), rgba(102, 16, 242, 0.2));
    z-index: 0;
    opacity: 0.5; /* Keep it subtle */
    pointer-events: none; /* Ensure the gradient doesn't block interaction */
}

/* Keep card content above the gradient */
.card .card-body {
    position: relative;
    z-index: 1;
}

/* Disable hover lifting effect */
.card:hover {
    box-shadow: 0 8px 20px rgba(102, 16, 242, 0.3); /* No additional shadow on hover */
    transform: none; /* Prevent lifting effect */
}

@keyframes scrollLeftRight {

    0%,
    100% {
        transform: translateX(0);
        /* Start and end at the original position */
    }

    50% {
        transform: translateX(10px);
        /* Move slightly to the right */
    }
}

.continuous-scroll {
    animation: scrollLeftRight 5s infinite ease-in-out;
    display: inline-block;
    /* To avoid affecting parent layout */
}



@keyframes scrollRightLeft {

    0%,
    100% {
        transform: translateX(10px);
        /* Start and end at the original position */
    }

    50% {
        transform: translateX(0px);
        /* Move slightly to the right */
    }
}

.continuous-scroll-reverse {
    animation: scrollRightLeft 5s infinite ease-in-out;
    display: inline-block;
    /* To avoid affecting parent layout */
}



.list-group-item {
    background-color: rgba(0, 0, 0, 0.01);
    /* Default lighter background for visibility */
    border: 1px solid rgba(0, 0, 0, 0.05);


    /* Make the border invisible by default */
    border-radius: 8px;
    /* Rounded corners for better visuals */
    padding: 10px 15px;
    /* Consistent spacing */
    margin-bottom: 5px;
    /* Add spacing between items */
    transition: background-color 0.3s ease, border-color 0.3s ease;
    /* Smooth transition for background and border */
}

.list-group-item:hover {
    background-color: rgba(102, 16, 242, 0.1);
    /* Subtle background hover for light mode */
    border-color: rgba(102, 16, 242, 0.8);
    /* Highlight the border on hover */
}

/* Remove bottom margin for the last item in the list */
.list-group .list-group-item:last-child {
    margin-bottom: 0;
}

/* Dark Mode */
[data-bs-theme="dark"] .list-group-item {
    background-color: rgba(255, 255, 255, 0.05);
    /* Default lighter background for visibility */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle border for separation */
    color: rgba(255, 255, 255, 0.85);
    /* Ensure text is clearly visible */
    margin-bottom: 5px;
    /* Add spacing between items */
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

[data-bs-theme="dark"] .list-group-item:hover {
    background-color: rgba(102, 16, 242, 0.4);
    /* Bright and more visible hover background */
    border-color: rgba(102, 16, 242, 0.6);
    /* Slightly bolder border on hover */
    color: rgba(255, 255, 255, 1);
    /* Fully white text for better contrast */
}

/* Optional for Link Styling */
.list-group-item a {
    color: inherit;
    /* Ensure links inherit the current text color */
    text-decoration: none;
    /* Remove underline by default */
    transition: color 0.3s ease;
    /* Smooth color transition */
}

.list-group-item a:hover {
    color: rgba(102, 16, 242, 1);
    /* Change text color on hover */
}

[data-bs-theme="dark"] .list-group-item a:hover {
    color: white;
    /* Change text color on hover */
}


[data-bs-theme="light"] .list-group .list-group-item {
    border-top-width: 1px !important;
    /* Ensure the border-top displays */
 
    /* Reset margin-bottom for consistent spacing */
}

/* Optional: To reset Bootstrap's default */
[data-bs-theme="light"] .list-group .list-group-item:not(:first-child) {
    border-top-width: 1px !important;
}



body {
    overflow-x: hidden;
}

body.theme-dark {
    color-scheme: dark;
}

body.theme-light {
    color-scheme: light;
}

[data-color-scheme="dark"] {
    color-scheme: dark;
}

[data-color-scheme="light"] {
    color-scheme: light;
}

/* Make header and sections full-screen height */
header,
section {
    min-height: 100vh; /* Full viewport height */
    display: flex; /* Enable Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding: 2rem; /* Optional: Add some padding for spacing */
    box-sizing: border-box; /* Include padding in height calculation */
}

header .content,
section .content {
    width: 75%; /* Constrain the width of the content to 75% */
    max-width: 1200px; /* Optional: Add a max-width for larger screens */
    margin: 0 auto; /* Center the content horizontally */
}

/* For tablets and below (screen width <= 768px) */
@media screen and (max-width: 768px) {
    header .content,
    section .content {
        width: 90%; /* Constrain the width of the content to 75% */
    }
}


[data-bs-theme="light"] section {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.8), rgba(222, 222, 222, 0.5));
    color: black;
    /* Subtle blur effect */
    transition: background 0.5s ease, color 0.5s ease;
}

[data-bs-theme="dark"] section {
    background: linear-gradient(120deg, rgba(24, 24, 24, 0.3), rgba(64, 64, 64, 0.5));
    color: white;
    /* Subtle blur effect */
    transition: background 0.5s ease, color 0.5s ease;
}




/* For tablets and below (screen width <= 768px) */
@media screen and (max-width: 768px) {
    section {
        padding-left: 0;
        padding-right: 0;
    }
}


header {
    z-index: 1;
}




/* Base Navbar Styles */
.navbar {
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar a.nav-link {
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar a.nav-link:hover {
    color: var(--primary-color);
}

.navbar-brand {
    font-weight: 700;
}

[data-bs-theme="light"] .navbar-brand {
    color: black;
}
[data-bs-theme="dark"] .navbar-brand {
    color: white;
}

/* Light Mode Navbar */
[data-bs-theme="light"] .navbar {
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .navbar a.nav-link {
    color: #333;
}

[data-bs-theme="light"] .navbar a.nav-link.active {
    color: var(--primary-color);
}

#navbarText.active {
    color: var(--primary-color);
}

/* Dark Mode Navbar */
[data-bs-theme="dark"] .navbar {
    background-color: rgba(24, 24, 24, 0.8);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .navbar a.nav-link {
    color: rgba(255, 255, 255, 0.85);
}

[data-bs-theme="dark"] .navbar a.nav-link.active {
    color: var(--primary-color);
}

.navbar-toggler-icon {
    width: 20px; /* Adjust width (default is ~24px) */
    height: 20px; /* Adjust height (default is ~24px) */
    background-size: 15px 15px; /* Reduce the size of the bars */
}

[data-bs-theme="light"] .navbar-toggler-icon {
    filter: invert(1); /* Invert the colors for dark mode */
}


/* Section styling */
#pricing .pricing-section {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Card styling with background */
#pricing .card-background {
    position: relative;
    background: url('/images/price.jpg') no-repeat center center;
    background-size: cover; /* Ensures the image covers the card */
    color: #fff; /* Makes text readable */
    padding: 20px;
    border-radius: 10px; /* Optional for rounded corners */
    overflow: hidden;
}

/* Overlay effect for better readability */
#pricing .card-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    z-index: 1;
}

/* Content inside the card */
#pricing .card-background .card-body {
    position: relative;
    z-index: 2; /* Makes sure content is above the overlay */
    text-align: left;
}

#pricing .card-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

#pricing .card-text {
    font-size: 1.5rem;
}

.card {
    display: flex; /* Ensure the card uses flexbox for horizontal layout */
    flex-direction: row; /* Align items horizontally */
    align-items: center; /* Vertically align content */
}

.card-icon img {
    height: 60px; /* Adjust the height of the image */
    width: auto; /* Keep aspect ratio */
    margin-right: 0px; /* Add space between the icon and text */
}

.card-body {
    flex: 1; /* Allow text to take the remaining space */
    text-align: left;
}

.wrap-text {
    word-break: break-all; /* Forces text to break by character */
    white-space: normal;   /* Ensures text wraps normally */
    text-align: left;    /* Optional: Center the text for better layout */
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none; /* Remove the outline */
    box-shadow: none; /* Remove the focus box-shadow */
}

button.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

button.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Transition for body background and color scheme */
body {
    transition: background-color 0.5s ease, color 0.5s ease;
}

[data-bs-theme="dark"] body,
[data-bs-theme="light"] body {
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Theme switcher animation */
#themeSwitcher {
    transition: background-color 0.3s, transform 0.3s;
    transform: rotate(0deg);
}

#themeSwitcher:hover {
    transform: rotate(180deg); /* Rotate smoothly */
}

#themeSwitcherIcon {
    transition: transform 0.3s ease-in-out;
}

[data-bs-theme="dark"] #themeSwitcherIcon {
    transform: rotate(0deg);
}

[data-bs-theme="light"] #themeSwitcherIcon {
    transform: rotate(180deg);
}

.theme-sensitive-dropdown {
    color: var(--dropdown-text-color);
    background-color: var(--dropdown-bg-color);
    border-color: var(--dropdown-border-color);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

[data-bs-theme="light"] .theme-sensitive-dropdown {
    --dropdown-text-color: #000;
    --dropdown-bg-color: #f8f9fa; /* Light gray for visibility */
    --dropdown-border-color: #ced4da;
}

[data-bs-theme="dark"] .theme-sensitive-dropdown {
    --dropdown-text-color: #fff;
    --dropdown-bg-color: #343a40; /* Dark gray for contrast */
    --dropdown-border-color: #495057;
}

:root {
    --dropdown-bg: #f8f9fa; /* Slightly darker white */
    --dropdown-text: #000;
    --dropdown-hover-bg: #e9ecef; /* Slightly darker gray for hover */
}

/* Dark theme styles */
[data-bs-theme="dark"] {
    --dropdown-bg: #000;
    --dropdown-text: #fff;
    --dropdown-hover-bg: #333;
}

.custom-dropdown {
    background-color: var(--dropdown-bg) !important;
    border: 1px solid var(--dropdown-hover-bg); /* Optional border for clarity */
}

.custom-dropdown .dropdown-item {
    color: var(--dropdown-text) !important;
    background-color: transparent !important;
}

.custom-dropdown .dropdown-item.active {
    background-color: var(--dropdown-hover-bg) !important;
}

.custom-dropdown .dropdown-item:hover {
    background-color: var(--dropdown-hover-bg) !important;
    color: var(--dropdown-text) !important;
}

.dropdown-toggle {
    background-color: var(--dropdown-bg) !important;
    color: var(--dropdown-text) !important;
    border: 1px solid var(--dropdown-hover-bg); /* Optional for consistency */
}

.dropdown-toggle:hover {
    background-color: var(--dropdown-hover-bg) !important;
    color: var(--dropdown-text) !important;
}

@keyframes swing {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(25deg);
    }    
    50% {
        transform: rotate(25deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.logo img {
    display: inline-block;
    animation: swing 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

#services .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth scaling and shadow transition */
}

#services .card:hover {
    transform: scale(1.05); /* Slightly increase the size */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Add a subtle shadow effect */
}

#pricing .card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth animation */
}

#pricing .card:hover {
    transform: scale(1.1); /* Slightly enlarge the card */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Add a shadow effect */
}

@keyframes complexRotation {
    0% {
        transform: rotate(0deg);
    }
    5% {
        transform: rotate(15deg);
    }
    10% {
        transform: rotate(-10deg);
    }
    15% {
        transform: rotate(30deg);
    }
    20% {
        transform: rotate(-20deg);
    }
    25% {
        transform: rotate(50deg);
    }
    30% {
        transform: rotate(-40deg);
    }
    35% {
        transform: rotate(70deg);
    }
    40% {
        transform: rotate(-60deg);
    }
    45% {
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(-80deg);
    }
    55% {
        transform: rotate(120deg);
    }
    60% {
        transform: rotate(-100deg);
    }
    65% {
        transform: rotate(150deg);
    }
    70% {
        transform: rotate(-120deg);
    }
    75% {
        transform: rotate(180deg);
    }
    80% {
        transform: rotate(-150deg);
    }
    85% {
        transform: rotate(210deg);
    }
    90% {
        transform: rotate(-180deg);
    }
    95% {
        transform: rotate(300deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.pricing-section .card-icon i {
    display: inline-block;
    animation: complexRotation 15s infinite ease-in-out;
}

.contact-buttons-responsive-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 600px) {
    .contact-buttons-responsive-container {
        flex-direction: column;
        align-items: flex-end; /* Aligns items to the right */
    }

    .contact-buttons-responsive-container .cf-turnstile,
    .contact-buttons-responsive-container.btn {
        width: 100%; /* Optional: If you want them to stretch to full width */
        text-align: right; /* Aligns text inside the button */
    }

    .contact-buttons-responsive-container .btn {
        margin-top: 10px; /* Adds spacing between the div and the button */
    }
}