:root {
    --primary-color: #4a148c;
    /* Deep Purple */
    --secondary-color: #7c43bd;
    /* Lighter Purple */
    --accent-color: #ffd700;
    /* Gold */
    --text-dark: #1a1a1a;
    --text-light: #f8f9fa;
    --bg-light: #f4f6f9;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Glassmorphism Logic */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: 15px;
}

/* Navbar */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 50px;
    object-fit: contain;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(74, 20, 140, 0.6), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.btn-premium {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(74, 20, 140, 0.4);
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 20, 140, 0.6);
    color: white;
}

.btn-gold {
    background: linear-gradient(45deg, #ffd700, #ffa000);
    color: #3e2723;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* Feature Cards */
.feature-card {
    border: none;
    transition: all 0.3s;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
}

/* Mobile Bottom Nav (PWA Native Feel) */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    justify-content: space-around;
    padding: 10px 0;
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
    }

    .main-content {
        padding-bottom: 70px;
    }
}

.nav-item-mobile {
    text-align: center;
    color: var(--text-dark);
    font-size: 0.8rem;
    text-decoration: none;
}

.nav-item-mobile i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 2px;
    color: var(--secondary-color);
}

.nav-item-mobile.active i {
    color: var(--primary-color);
}


.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(74, 20, 140, 0.4), rgba(0, 0, 0, 0.7));
    pointer-events: none;
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.filter-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* Nav Buttons */
.btn-nav-action {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    min-width: 100px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-nav-action:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Modern Footer & Sub-footer Overhaul */
.footer {
    background: #000000;
    color: #ffffff;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

/* Background mesh gradient for a premium feel */
.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 20, 140, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), var(--primary-color), transparent);
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #fff 30%, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo span {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 2px;
    display: block;
    margin-top: -5px;
}

.footer-links h5 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.footer-links h5::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-left: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.footer-links ul li:hover {
    transform: translateX(8px);
}

.footer-links ul li a {
    color: #ffffff;
    /* Pure white for high contrast */
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.footer-links ul li a i {
    width: 20px;
    opacity: 0;
    transition: all 0.3s;
    font-size: 0.8rem;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.footer-links ul li a:hover i {
    opacity: 1;
    margin-right: 8px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent-color);
    color: #000;
    transform: rotate(15deg) scale(1.15);
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.newsletter-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.newsletter-box input {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    padding: 15px 20px;
    border-radius: 14px !important;
}

.newsletter-box input:focus {
    border-color: var(--accent-color) !important;
    box-shadow: none !important;
}

.sub-footer {
    background: #000000;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-footer p {
    font-size: 0.85rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.powered-by {
    color: var(--accent-color);
    font-weight: 800;
    text-decoration: none;
    padding: 2px 8px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 4px;
    transition: all 0.3s;
}

.powered-by:hover {
    background: var(--accent-color);
    color: #000;
}