/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    text-align: center;
    padding: 20px;
}

body {
    display: flex !important;
    flex-direction: column;
    min-height: 100vh;
}

.main-content { /* The content wrapper above the footer */
    flex: 1 !important;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.footer {
    width: 100%;
    padding: 20px 0;
    background-color: #f1f1f1;
    text-align: center;
    position: absolute; /* or fixed, depending on your layout */
    bottom: 0;
}

/* Toggle Container */
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Adds space between text and switch */
    margin-bottom: 20px;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
    margin: 0 10px;
    border-radius: 25px;
}

/* Hide default checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Slider Track */
.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 25px;
    width: 100%;
    height: 100%;
    transition: 0.4s;
    border: 2px solid #999; /* Adds a border around the switch */
}

/* Toggle Button */
.slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 2.5px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
    border: 2px solid #999; /* Adds a border around the toggle button */
    z-index: 1; /* Ensure it's above the track */
}

/* Move Toggle Button when checked */
.switch input:checked + .slider {
    background-color: #0cc0df;
}

.switch input:checked + .slider::before {
    transform: translateX(25px);
}

/* Proper spacing for text */
.toggle-container span {
    white-space: nowrap;
    font-weight: 500;
    margin-left: 10px; /* Adds more spacing to the left of the text */
    margin-right: 10px; /* Adds more spacing to the right of the text */
}



/* Pricing Table */
.pricing-table {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.plan {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

/* Horizontal Line */
.plan hr {
    border: none;
    height: 1px;
    background: #ddd;
    margin: 10px 0;
}

.plan h2 {
    font-size: 22px;
    color: #000;
}

.recommended {
    font-size: 14px;
    margin: 10px 0;
}

.price {
    font-size: 26px;
    font-weight: bold;
}

.price span {
    font-size: 16px;
    color: #666;
}

.billing {
    font-size: 12px;
    color: #888;
}

.buttons {
    margin: 15px 0;
}

button {
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}

.trial {
    background: none;
    border: 2px solid #0cc0df;
    color: #0cc0df;
}

.trial:hover {
    background: #85f1fd;
    color: #fff;
}

.buy {
    background: #0cc0df;
    color: white;
}

.buy:hover {
    background: #0cc0df;
}

.contact {
    background: #0cc0df;
    color: white;
    width: 100%;
}

.contact:hover {
    background: #85f1fd;
}

/* Most Popular Plan */
.popular {
    background: linear-gradient(135deg, #0cc0dfd6, #f8f9fa38);
    color: black;
    position: relative;
}

.popular .badge {
    position: absolute;
    top: 0;
    left: 0;
    background: black;
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    font-weight: bold;
}

.popular button {
    background: white;
    color: black;
}

.popular ul li {
    color: rgb(0, 0, 0);
}

/* Features List */
ul {
    list-style: none;
    padding: 0;
    text-align: left; /* Aligns the list to the left */
}

ul li {
    font-size: 14px;
    margin: 5px 0;
}

/* Hover Effect - Card Pop-up */
.plan {
    transition: transform 0.3s ease-in-out !important;
}

.plan.hovered {
    transform: scale(1.05) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

