/* Video Loader Styles */
.video-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 249, 250, 0.98);
    /* Light gray background matching the page theme */
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.video-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite;
    /* SVG logos have transparent backgrounds by default */
    background: transparent;
    /* Add subtle shadow for depth */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(54, 64, 153, 0.2);
    border-top: 4px solid #364099;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-content p {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 1px;
    color: #666;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(54, 64, 153, 0.2);
    border-radius: 2px;
    margin: 20px auto 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #364099;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Hide main content initially */
.main-content {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.main-content.loaded {
    opacity: 1;
    visibility: visible;
}

/* Video styles - initially hidden */
.video-bg {
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-bg.loaded {
    opacity: 1;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 16px;
    transition: color 0.3s ease;
    z-index: 2;
    background: white;
    padding: 5px;
}

.password-toggle:hover {
    color: #364099;
}

.password-toggle.active {
    color: #364099;
}

/* Plan features styling */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex-grow: 1;
    text-align: left;
    padding-bottom: 10px;
}

.plan-features li {
    display: flex;
    align-items: flex-start; /* Align to top for multi-line text */
    margin-bottom: 10px;
    padding: 4px 0;
    text-align: left; /* Ensure text is left-aligned */
    justify-content: flex-start; /* Align content to start */
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: #333;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    margin-right: 10px;
    color: #28a745;
    font-size: 16px;
    flex-shrink: 0;
    width: 18px; /* Fixed width for consistent alignment */
    text-align: center; /* Center the icon within its fixed width */
    margin-top: 2px; /* Slight top margin to align with text baseline */
}

.text-green-500 {
    color: #10b981;
}

.mr-2 {
    margin-right: 0.5rem;
}
.close-button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #666;
    font-size: 18px;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}
.scroll-arrow {
    color: white;
    padding: 2px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.close-button:hover {
    background: #364099;
    color: white;
    transform: rotate(90deg);
}

.navbar {
    background-color: #ffffff;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    opacity: 0.9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-logo-wrapper {
    flex: 0 0 15%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.navbar-text-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.navbar-spacer {
    flex: 0 0 15%;
}

.navbar-logo {
    height: 70px;
    width: auto;
    margin-left: 25px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.navbar-text {
    font-family: "Public Sans", sans-serif;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 700;
    color: #333;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    text-align: center;
    white-space: nowrap;
}

/* Desktop: Keep text in one line */
.navbar-text-line1,
.navbar-text-line2 {
    display: inline;
}

.hero-text {
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    z-index: 1;
    font-size: 3.2rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding: 20px;
    font-family: Arial, sans-serif;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Important: includes padding in width calculation */
}

.main-content.loaded .hero-text {
    opacity: 1;
    visibility: visible;
}

.button-section {
    position: absolute;
    bottom: 10%;
    transform: translateY(0);
    text-align: left;
    color: white;
    padding: 20px;
}

.modern-login-btn {
    padding: 16px 40px;
    background: linear-gradient(135deg, #364099, #4a52b3);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(54, 64, 153, 0.3);
}

.modern-login-btn:hover {
    background: linear-gradient(135deg, #26296d, #364099);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(54, 64, 153, 0.4);
}

.modern-login-btn span {
    letter-spacing: 0.5px;
}

.modern-login-btn i {
    font-size: 15px;
}
.button-center {
    display: flex;
    justify-content: center;
}

body {
    background-color: black;
    padding: 0;
    margin: 0;
    min-height: 100vh;
    align-items: flex-end;
    font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, sans-serif;
}

.video-bg {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.glass-container {
    position: relative;
    z-index: 1;
    width: 300px;
}

/* Modern Login Overlay */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

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

/* Login Container */
.login-container {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.95),
        rgba(240, 240, 255, 0.95)
    );
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 420px;
    max-height: 90vh; /* Prevent container from exceeding viewport height */
    overflow-y: auto; /* Add scroll if content is too tall */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: slideUp 0.4s ease;
}

/* Custom scrollbar for login container */
.login-container::-webkit-scrollbar {
    width: 6px;
}

.login-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.login-container::-webkit-scrollbar-thumb {
    background: rgba(54, 64, 153, 0.3);
    border-radius: 10px;
}

.login-container::-webkit-scrollbar-thumb:hover {
    background: rgba(54, 64, 153, 0.5);
}

@keyframes slideUp {
    from {
        transform: translate(-50%, calc(-50% + 30px));
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* Login Header */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-icon {
    font-size: 60px;
    color: #364099;
    margin-bottom: 15px;
}

.login-header h2 {
    font-family: "Public Sans", sans-serif;
    color: #333;
    font-size: 28px;
    margin: 10px 0;
    font-weight: 600;
}

.login-subtitle {
    font-family: "Public Sans", sans-serif;
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    text-align: left;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: #999;
    font-size: 16px;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.input-wrapper input:focus {
    border-color: #364099;
    outline: none;
    box-shadow: 0 0 0 3px rgba(54, 64, 153, 0.1);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.remember-me input {
    margin-right: 8px;
    cursor: pointer;
}

.forgot-link {
    color: #364099;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #26296d;
}

/* Divider */
.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider span {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.95),
        rgba(240, 240, 255, 0.95)
    );
    padding: 0 15px;
    color: #999;
    font-size: 12px;
    position: relative;
    z-index: 1;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

/* Register Section */
.register-section {
    text-align: center;
}

.register-section p {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.register-link {
    display: inline-block;
    color: #364099;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 25px;
    border: 2px solid #364099;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.register-link:hover {
    background: #364099;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(54, 64, 153, 0.3);
}

.submit-button {
    background: linear-gradient(135deg, #364099, #4a52b3);
    color: white;
    padding: 14px;
    border: none;
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.submit-button:hover {
    background: linear-gradient(135deg, #26296d, #364099);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(54, 64, 153, 0.3);
}

.submit-button span {
    flex: 1;
    text-align: center;
}

.submit-button i {
    font-size: 14px;
}

.footer {
    width: 100%;
    background-color: black;
    color: white;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.social-item {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 1%;
    color: white;
}
.footer-links {
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
}

.footer-links a:hover {
    color: #007bff;
    text-decoration: underline;
}

.error-banner {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.error-banner.show {
    display: block;
}

/* Optional: Style for the category text-buttons */
.category-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.category-button {
    margin: 0 10px;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    background-color: #007bff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.category-button:hover {
    background-color: #0056b3;
}

.button-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button-section button {
    margin-right: 0 !important;
}

/* Pricing Table Styles */
.pricing-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px auto;
    max-width: 1200px;
    gap: 20px;
    padding: 0 15px;
    position: relative;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 30px;
    width: 350px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    height: 550px;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border: 2px solid #ffcc00;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 82, 82, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Pricing Wrapper */
.pricing-wrapper {
    margin: 2px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.plan-price {
    font-size: 36px;
    font-weight: bold;
    color: #364099;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

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

.original-price {
    font-size: 22px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
    opacity: 0.7;
}

.plan-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #364099;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    position: absolute;
    bottom: 20px; /* Reduced from 30px for better mobile spacing */
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 200px; /* Maximum width to prevent stretching */
}

.plan-button:hover {
    background-color: #26296d;
}

.featured .plan-button {
    background-color: #ffcc00;
    color: #333;
}

.featured .plan-button:hover {
    background-color: #e6b800;
}

.silver-icon,
.gold-icon,
.platinum-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.silver-icon {
    color: #c0c0c0;
}

.gold-icon {
    color: #ffd700;
}

.platinum-icon {
    color: #e5e4e2;
}

.video-mobile {
    display: none;
}

.video-desktop {
    display: block;
}

/* Small laptop screens - height-based media query */
@media only screen and (max-height: 768px) and (min-width: 769px) {
    .login-container {
        max-height: 85vh;
        padding: 25px 30px; /* Reduce padding for small heights */
    }

    .login-header {
        margin-bottom: 20px; /* Reduce margin */
    }

    .login-icon {
        font-size: 45px; /* Smaller icon */
        margin-bottom: 10px;
    }

    .login-header h2 {
        font-size: 24px;
        margin: 8px 0;
    }

    .form-group {
        margin-bottom: 15px; /* Reduce spacing between form groups */
    }

    .form-options {
        margin-bottom: 18px;
    }

    .divider {
        margin: 18px 0;
    }

    .submit-button {
        padding: 12px;
        margin-bottom: 15px;
    }
}

/* Very small laptop screens - height less than 650px */
@media only screen and (max-height: 650px) and (min-width: 769px) {
    .login-container {
        max-height: 80vh;
        padding: 20px 25px;
    }

    .login-icon {
        font-size: 40px;
    }

    .login-header h2 {
        font-size: 22px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .input-wrapper input {
        padding: 10px 15px 10px 45px;
    }

    .submit-button {
        padding: 10px;
        font-size: 15px;
    }
}

/* Tablet styles */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .navbar-container {
        padding: 0 15px;
    }

    .navbar-logo-wrapper {
        flex: 0 0 20%;
    }

    .navbar-spacer {
        flex: 0 0 20%;
    }

    .navbar-logo {
        height: 60px;
    }
}

@media only screen and (max-width: 768px) {
    .video-mobile {
        display: block;
    }

    .video-desktop {
        display: none;
    }

    /* Mobile responsive hero text */
    .hero-text {
        font-size: 2rem; /* Smaller font size for mobile */
        top: 100px; /* Adjusted position for mobile */
        padding: 15px 10px; /* More compact padding for mobile */
        line-height: 1.2;
    }

    /* Mobile responsive login container */
    .login-container {
        padding: 30px 20px;
        width: 95%;
        max-width: 400px;
        max-height: 85vh; /* Reduce max height for mobile */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .login-header h2 {
        font-size: 24px;
    }

    .login-icon {
        font-size: 50px;
    }

    .modern-login-btn {
        padding: 14px 30px;
        font-size: 15px;
    }

    /* Navbar responsive */
    .navbar-container {
        padding: 0 10px;
    }

    .navbar-logo-wrapper {
        flex: 0 0 25%;
    }

    .navbar-text-wrapper {
        flex: 1;
        padding: 0 10px;
    }

    .navbar-spacer {
        display: none;
    }

    .navbar-logo {
        height: 45px;
    }

    .navbar {
        padding: 8px 0;
    }

    /* Mobile: Split navbar text into two lines */
    .navbar-text {
        white-space: normal;
        line-height: 1.2;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: clamp(18px, 5vw, 24px); /* Bigger font size for mobile */
    }

    .navbar-text-line1 {
        display: block;
        white-space: normal; /* Allow wrapping when needed */
    }

    .navbar-text-line2 {
        display: block;
        margin-top: 2px;
    }
}

/* Extra small mobile screens */
@media (max-width: 480px) {
    .navbar-text {
        font-size: clamp(
            16px,
            4.5vw,
            20px
        ); /* Slightly smaller but still readable */
    }

    .navbar-logo {
        height: 40px;
    }

    .navbar-text-wrapper {
        padding: 0 5px;
    }
}

/* Very small screens (360px and below) */
@media (max-width: 360px) {
    .navbar-text {
        font-size: 15px; /* Fixed size for very small screens */
    }

    .navbar-logo {
        height: 35px;
    }
}

.alert-container {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.custom-alert {
    padding: 12px 20px;
    border-radius: 4px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.9);
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.9);
    color: #212529;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.9);
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
    padding: 0 0 0 15px;
    opacity: 0.7;
}

.btn-close:hover {
    opacity: 1;
}

.alert-content {
    flex-grow: 1;
}

/* Animation for fade-out */
@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

/* Scroll Down Arrow Styles */
.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 100;
}

.scroll-arrow .arrow {
    font-size: 24px;
    color: #ffffff;
    animation: bounce 2s infinite;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/* Hide arrow when scrolled */
.scroll-arrow.hidden {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .video-bg:not(.video-mobile) {
        display: none;
        /* Hide main video on mobile */
    }

    /* Horizontal scrolling for pricing cards on mobile */
    .pricing-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 20px 0;
        scroll-behavior: smooth;
        margin: 0 auto;
        width: 100%;
        justify-content: flex-start;
        gap: 0; /* Remove gap to control spacing manually */
    }

    .pricing-card {
        flex: 0 0 85%;
        margin: 0 7.5%; /* Center each card with equal margins */
        scroll-snap-align: center;
        box-sizing: border-box;
        transform: scale(0.9);
        transition: transform 0.3s ease, opacity 0.3s ease;
        opacity: 0.7;
        height: auto; /* Allow dynamic height on mobile */
        min-height: 500px; /* Minimum height instead of fixed */
        padding-bottom: 80px; /* Extra bottom padding for mobile */
    }

    /* First and last card special margins for proper centering */
    .pricing-card:first-child {
        margin-left: 7.5%;
    }

    .pricing-card:last-child {
        margin-right: 7.5%;
    }

    .pricing-card.active {
        transform: scale(1);
        opacity: 1;
        z-index: 2;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    /* Hide scrollbar on mobile for cleaner look */
    .pricing-container::-webkit-scrollbar {
        display: none;
    }

    .pricing-container {
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }

    /* Add scroll indicator dots */
    .scroll-indicator {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        /* Make sure it takes the full width */
        margin: 15px auto 20px;
        /* Top, left/right, bottom */
        position: relative;
        /* Position relative to allow absolute positioning if needed */
        text-align: center;
        /* Center the content */
    }

    .scroll-dot {
        height: 8px;
        width: 8px;
        margin: 0 5px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        display: inline-block;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .scroll-dot.active {
        background-color: white;
        transform: scale(1.2);
    }
}

/* Very small mobile devices */
@media (max-width: 380px) {
    .pricing-card {
        flex: 0 0 90%;
        margin: 0 5%;
        transform: scale(0.95);
        min-height: 480px;
    }

    .pricing-card:first-child {
        margin-left: 5%;
    }

    .pricing-card:last-child {
        margin-right: 5%;
    }

    .pricing-card.active {
        transform: scale(1);
    }

    .plan-features {
        font-size: 13px;
    }

    .plan-price {
        font-size: 32px;
    }

    .original-price {
        font-size: 18px;
    }
}
