:root {
    --purple: #9982f2;
    --black: #000000;
    --white: #FFFFFF;
    --navbar-height: 56px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    padding-top: 0;
}

/* Enhanced Navbar Styles */
.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--white);
}

.navbar-nav .dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.navbar-nav .dropdown-item:active {
    background-color: var(--purple);
}

@media (min-width: 992px) {
    .navbar-nav .border-start {
        border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
}

.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.navbar-dark {
    border-bottom: none !important;     /* removes thin white line */
    box-shadow: none !important;        /* removes any subtle shadow */
    margin-bottom: 0 !important;
}


/* Navbar styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1030;
}

.navbar-spacer {
    height: var(--navbar-height);
}

/* Hero section */

.hero {
    height: calc(100vh + 56px); /* full viewport height */
    background: linear-gradient(135deg, var(--purple) 0%, #4C1D95 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: -56px;
    padding-top: 56px;
    overflow: hidden;
}


/* Features section */
.features {
    padding: 6rem 0;
}

.feature-card {
    border: none;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Dashboard */
.dashboard-sidebar {
    background-color: var(--black);
    min-height: 100vh;
    color: var(--white);
    margin-top: 0;
    padding-top: 56px;
    z-index: 1020;
}

.card-list {
    gap: 1.5rem;
}

.nfc-card {
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.nfc-card:hover {
    border-color: var(--purple);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.1);
}

/* Animations */


/* PayPass Logo Styles */
.paypass-logo {
    position: absolute;
    right: -75px;
    top: 50%;
    transform: translateY(-50%);
    width: 210px;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    z-index: 5;
}

.paypass-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: transparent;
}

/* Profile Image Styles */
.profile-image:not([style*="background-image"]) {
        background: linear-gradient(135deg, #5856d6, #7a7a7a);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: white;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Default profile picture styles for cards dashboard */
    .default-profile-avatar {
        background: linear-gradient(135deg, var(--purple, #5856d6), #7a7a7a);
        color: white;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .nfc-cards-container {
        height: 400px;
    }

    .nfc-card-wrapper {
        width: 250px;
        height: 160px;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nfc-cards-container {
        height: 350px;
    }

    .container {
        max-width: 95%;
    }

    .feature-card {
        padding: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .nfc-cards-container {
        height: 300px;
        margin-top: 2rem;
    }

    .nfc-card-wrapper {
        width: 220px;
        height: 140px;
    }

    .paypass-logo {
        right: -50px;
        width: 150px;
        height: 150px;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .testimonial-avatar img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .hero {
        text-align: center;
        padding-top: 70px;  /* Add padding for mobile navbar */
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .btn {
        margin: 0.5rem 0.25rem;
    }

    .nfc-cards-container {
        height: 250px;
        margin: 2rem auto;
        max-width: 280px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .nfc-card-wrapper {
        width: 180px;
        height: 115px;
        position: static;
        margin: 10px auto;
    }

    .nfc-card-wrapper:first-of-type,
    .second-card {
        position: static;
        top: auto;
        left: auto;
        transform: none;
    }

    .nfc-card-wrapper:first-of-type {
        margin-bottom: 1rem;
    }

    .nfc-card-logo {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .nfc-card-details span:first-child {
        font-size: 14px;
    }

    .nfc-card-details span:last-child {
        font-size: 12px;
    }

    .paypass-logo {
        right: -30px;
        width: 100px;
        height: 100px;
    }

    .d-flex.gap-3 {
        justify-content: center;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .card-body {
        padding: 1rem;
    }

    .feature-card {
        padding: 1rem !important;
    }

    .feature-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-list .bi {
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
    }
}
