/* 
    Project: AllSolution.xyz
    Theme: Techno-Mentalism (Gold & Dark)
    Author: Sudheer Kabeer
*/

:root {
    --gold: #D4AF37;
    --dark-gold: #996515;
    --black: #050505;
    --glass: rgba(255, 255, 255, 0.03);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   1. GENERAL SETUP
   ========================================= */
body {
    background-color: var(--black);
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth; /* Enables smooth scrolling for the site */
}

h1, h2, h3, .brand-text, .navbar-brand { 
    font-family: 'Orbitron', sans-serif; 
    color: var(--gold); 
    text-transform: uppercase;
}

/* =========================================
   2. NAVIGATION STYLING
   ========================================= */
.navbar { 
    background: rgba(5, 5, 5, 0.95) !important; 
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2); 
    padding: 10px 0;
}

.nav-logo {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
}

.nav-login-link {
    color: #fff !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-login-link i { 
    color: var(--gold); 
    margin-right: 5px; 
}

.nav-login-link:hover { 
    opacity: 1; 
    color: var(--gold) !important; 
}

.nav-link {
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--gold) !important;
}

/* =========================================
   3. HERO SECTION & TIMER
   ========================================= */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.71), rgba(0,0,0,0.8)), url('/images/artofmentalism.in.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
}

#timer { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    margin-top: 30px; 
}

.time-unit {
    background: var(--glass);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 15px;
    border-radius: 12px;
    min-width: 90px;
    backdrop-filter: blur(5px);
}

.time-unit span { 
    display: block; 
    font-size: 2.2rem; 
    font-weight: bold; 
    color: var(--gold); 
}

/* Scroll Indicator Animation */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.scroll-indicator a {
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* =========================================
   4. COURSE CARDS
   ========================================= */
.course-card {
    background: var(--glass);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.course-card:hover { 
    border-color: var(--gold); 
    transform: translateY(-12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.course-img { 
    height: 220px; 
    width: 100%; 
    object-fit: cover; 
    filter: grayscale(80%); 
    transition: 0.6s ease; 
}

.course-card:hover .course-img { 
    filter: grayscale(0%); 
    transform: scale(1.05); 
}

.card-body { 
    padding: 25px; 
}

/* =========================================
   5. BUTTONS & ANIMATIONS
   ========================================= */
.btn-premium {
    background: linear-gradient(45deg, var(--dark-gold), var(--gold));
    color: #000 !important;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    text-transform: uppercase;
    transition: var(--transition);
    animation: pulse-gold 2s infinite;
    cursor: pointer;
}

.btn-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

.btn-curriculum {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gold);
    color: var(--gold);
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-curriculum:hover { 
    background: rgba(212, 175, 55, 0.1); 
    color: #fff; 
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* =========================================
   6. SOCIAL MEDIA & FOOTER
   ========================================= */
.social-links a, .text-gold {
    color: var(--gold) !important;
    text-decoration: none;
    font-size: 1.5rem;
    transition: var(--transition);
    display: inline-block;
}

.social-links a:hover, .text-gold:hover {
    color: #fff !important;
    transform: translateY(-5px);
    filter: drop-shadow(0 0 10px var(--gold));
}

footer {
    background: #000;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

footer a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: #fff;
}

/* =========================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0,0,0,0.95);
        padding: 20px;
        border-radius: 15px;
        margin-top: 10px;
        border: 1px solid var(--dark-gold);
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .time-unit { min-width: 70px; padding: 10px; }
    .time-unit span { font-size: 1.6rem; }
    .nav-logo { height: 40px; width: 40px; }
}

@media (max-width: 400px) {
    .nav-login-link span { display: none; }
    .btn-premium { padding: 8px 15px; font-size: 0.75rem; }
}

/* =========================================
   8. POLICY PAGES STYLING (Privacy, Refund, etc.)
   ========================================= */
.policy-hero {
    background: linear-gradient(rgba(0,0,0,0.85), #050505), url('/images/allsolution.xyz.webp');
    background-size: cover;
    background-position: center;
    padding: 120px 0 60px 0;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.policy-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 30px;
    padding: 50px;
    margin-top: -60px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.7);
    margin-bottom: 100px;
}

.policy-card h1, .policy-card h2, .policy-card h3 { 
    font-family: 'Orbitron', sans-serif; 
    color: var(--gold); 
    margin-top: 35px; 
    text-transform: uppercase; 
}

.policy-card p, .policy-card li { 
    line-height: 1.9; 
    color: #ccc; 
    font-size: 1.05rem; 
}

.policy-card b { color: var(--gold); }

.policy-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.policy-text-wrap h2 {
    font-size: 1.5rem;
    border-left: 4px solid var(--gold);
    padding-left: 15px;
    margin-bottom: 20px;
}

.image-overlay-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
}

/* =========================================
   9. PREMIUM CONTACT CARD & ICON FIXES
   ========================================= */
.contact-card {
    min-width: 350px;
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(15px);
    transition: var(--transition);
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
    transition: all 0.4s ease;
}

.contact-card:hover {
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15) !important;
}

/* BOX HOVER: Changes background to gold */
.contact-item:hover .contact-icon-box {
    background: var(--gold) !important;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 0 15px var(--gold);
}

/* ICON HOVER FIX: Changes icon color to black when the box is hovered */
.contact-item:hover .contact-icon-box i {
    color: #000 !important; /* Forces icon to be black so it's visible on gold background */
}

.contact-item a { transition: 0.3s; }
.contact-item:hover a { color: var(--gold) !important; }

/* 
    CRITICAL FIX: FONT AWESOME ICON VISIBILITY
*/
.policy-text-wrap i, .contact-icon-box i {
    display: inline-block !important;
    min-width: 20px;
    text-align: center;
    opacity: 1 !important;
    visibility: visible !important;
    color: #D4AF37 !important; /* Default gold color */
}

/* Font Family for Standard Icons */
.fas, .fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* Font Family for Brand Icons (WhatsApp) */
.fab, .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Unified Master Badge Styling */
.master-badge {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    transition: var(--transition);
}

.master-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

/* --- CUSTOM DROPDOWN STYLING --- */

/* Background and Border */
.dropdown-menu-dark {
    background-color: #050505 !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 12px;
    margin-top: 10px !important;
    backdrop-filter: blur(15px);
}

/* Dropdown Item Hover */
.dropdown-item {
    color: #ccc !important;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.dropdown-item:hover {
    background-color: rgba(212, 175, 55, 0.1) !important;
    color: var(--gold) !important;
    padding-left: 30px !important; /* Slight slide effect on hover */
}

/* Remove the arrow if you want a cleaner look (Optional) */
.dropdown-toggle::after {
    color: var(--gold);
    vertical-align: middle;
}

/* Ensure the dropdown opens on Hover for Desktop (Optional) */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Apps download Item Hover */
.app-download-link {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.app-download-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    filter: brightness(1.1);
}

/*Main Logo new Style */

.navbar-brand {
    padding: 5px 0;
}

.main-nav-logo {
    height: 60px;
    width: auto; 
    transition: all 0.3s ease;
}


.main-nav-logo:hover {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
    transform: scale(1.02);
}


@media (max-width: 768px) {
    .main-nav-logo {
        height: 45px; 
    }
}

@media (max-width: 400px) {
    .main-nav-logo {
        height: 38px;
    }
}

/* Combo Card*/

.combo-card {
    background: #111;
    border: 1px solid #d4af3733;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transition: 0.4s;
}

.ultimate-combo {
    background: linear-gradient(145deg, #151515 0%, #000 100%);
    border: 2px solid #d4af37;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    transform: scale(1.05);
}

.combo-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #d4af37;
    color: #000;
    padding: 2px 15px;
    font-size: 0.75rem;
    font-weight: 900;
    border-radius: 20px;
}

.border-gold { border-color: #d4af37 !important; width: 50px; margin: 20px auto; }

.combo-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 25px;
}

.combo-features li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #ccc;
}

.combo-features i {
    color: #d4af37;
    margin-right: 10px;
}

.price-box .old-price {
    text-decoration: line-through;
    color: #777;
    font-size: 1.1rem;
    margin-right: 10px;
}

.price-box .current-price {
    color: #d4af37;
    font-size: 2rem;
    font-weight: bold;
}

.btn-gold-outline {
    border: 1px solid #d4af37;
    color: #d4af37;
    font-weight: bold;
}

.btn-gold-outline:hover {
    background: #d4af37;
    color: #000;
}

/* combo card*/
/* Combo Card Styling */
.combo-card {
    background: #111;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    height: 100%;
    transition: 0.4s ease;
}

.ultimate-combo {
    border: 2px solid #d4af37;
    background: linear-gradient(145deg, #121212 0%, #000 100%);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
    transform: scale(1.03);
}

/* Image Container within Card */
.combo-img-container {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
}

.combo-img-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.combo-card:hover .combo-img-container img {
    transform: scale(1.1);
}

/* Typography & Price */
.combo-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #d4af37;
    color: #000;
    padding: 3px 20px;
    font-weight: 900;
    font-size: 0.7rem;
    border-radius: 30px;
    letter-spacing: 1px;
}

.combo-features {
    list-style: none;
    padding: 0;
    text-align: left;
    min-height: 120px;
}

.combo-features li {
    font-size: 0.85rem;
    color: #bbb;
    margin-bottom: 8px;
}

.combo-features i { color: #d4af37; margin-right: 8px; }

.old-price { text-decoration: line-through; color: #666; font-size: 1rem; }
.current-price { color: #d4af37; font-size: 2.2rem; font-weight: 800; }

.btn-gold-outline {
    border: 1px solid #d4af37;
    color: #d4af37;
    text-transform: uppercase;
    font-weight: bold;
}
.btn-gold-outline:hover { background: #d4af37; color: #000; }