/* ========================================
   THE G'S TRADING ACADEMY - MODERN STYLE
   Bright, Animated, Professional
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CUSTOM FONT - THE BRITTANY SERIF ===== */
@font-face {
    font-family: 'The Brittany Serif';
    src: url('../fonts/The Brittany Serif.woff') format('woff'),
         url('../fonts/The Brittany Serif 2.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS VARIABLES ===== */
:root {
    --neon-green: #00FF88;
    --bright-gold: #FFB800;
    --deep-black: #0a0a0a;
    --dark-card: #141414;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'The Brittany Serif', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--deep-black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: normal;
    line-height: 1.2;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--neon-green);
    text-decoration: none;
    transition: var(--transition);
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--deep-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.logo-animation {
    text-align: center;
}

.logo-animation .the {
    font-size: 1.5rem;
    color: #666;
    letter-spacing: 0.5rem;
    display: block;
    animation: fadeIn 0.8s ease;
}

.logo-animation .gs {
    font-size: 5rem;
    font-weight: 900;
    color: var(--neon-green);
    letter-spacing: 0.3rem;
    animation: glow 1.5s ease-in-out infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 255, 136, 0.5); }
    50% { text-shadow: 0 0 40px rgba(0, 255, 136, 0.8); }
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 2rem auto;
}

.loading-progress {
    height: 100%;
    background: var(--neon-green);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { width: 0%; transform: translateX(0); }
    50% { width: 100%; transform: translateX(0); }
    100% { width: 100%; transform: translateX(100%); }
}

/* ===== HEADER ===== */
header {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ICONS ===== */
.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.icon-box i {
    font-size: 2rem;
    color: var(--neon-green);
}

.feature-card:hover .icon-box {
    background: rgba(0, 255, 136, 0.2);
    transform: scale(1.1);
}

.logo:hover {
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-green);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--neon-green);
}

nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    background: var(--neon-green);
    color: var(--deep-black);
    border-radius: 8px;
    font-weight: 700;
}

.nav-cta:hover {
    background: var(--bright-gold);
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

/* Candlestick Background Image */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/candlestick-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.20;
    z-index: 0;
}

/* Dark overlay on background */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.hero-glow-1 {
    top: -200px;
    right: -200px;
}

.hero-glow-2 {
    bottom: -200px;
    left: -200px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--neon-green);
    border-radius: 50px;
    color: var(--neon-green);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.typing-text {
    color: var(--neon-green);
    position: relative;
}

.typing-text::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--neon-green);
    color: var(--deep-black);
    margin-right: 1rem;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    background: var(--bright-gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
}

.btn-outline:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--bright-gold);
    color: var(--bright-gold);
}

/* ===== STATS ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--neon-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--neon-green);
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ===== SECTIONS ===== */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 3rem;
}

/* ===== VIDEO SECTION ===== */
.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
    border: 1px solid var(--border-color);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--neon-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .hero {
        padding: 4rem 0;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .btn {
        display: block;
        margin: 1rem auto !important;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    section {
        padding: 3rem 0 !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    /* Mobile-friendly video */
    .video-container {
        margin: 0 -20px;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--deep-black);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-green);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bright-gold);
}

/* ===== FREE COURSES PAGE - RESPONSIVE ONLY ===== */
/* Works with existing inline styles, only adds responsive behavior */

/* Grid Responsiveness - Override inline grid */
@media (max-width: 1200px) {
    section div[style*="grid-template-columns"] {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    }
}

@media (max-width: 991px) {
    section div[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 767px) {
    section div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* Heading Responsiveness */
@media (max-width: 991px) {
    section h1[style*="font-size"] {
        font-size: clamp(2rem, 6vw, 3rem) !important;
    }
    
    section h2[style*="font-size: 2.5rem"] {
        font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
    }
    
    section h2[style*="font-size: 2rem"] {
        font-size: clamp(1.5rem, 4vw, 2rem) !important;
    }
    
    section h3[style*="font-size: 1.5rem"] {
        font-size: clamp(1.25rem, 3vw, 1.5rem) !important;
    }
}

/* Paragraph Responsiveness */
@media (max-width: 991px) {
    section p[style*="font-size: 1.1rem"] {
        font-size: clamp(1rem, 2vw, 1.1rem) !important;
    }
}

@media (max-width: 767px) {
    section p[style*="font-size: 1.1rem"],
    section p[style*="max-width: 700px"] {
        font-size: 1rem !important;
        padding: 0 1rem !important;
    }
}

/* Section Padding Adjustments */
@media (max-width: 991px) {
    section[style*="padding: 8rem 0 3rem"] {
        padding: 6rem 0 2.5rem !important;
    }
    
    section[style*="padding: 5rem 0"] {
        padding: 4rem 0 !important;
    }
    
    section[style*="padding: 3rem 0 5rem"] {
        padding: 2.5rem 0 4rem !important;
    }
}

@media (max-width: 767px) {
    section[style*="padding: 8rem 0 3rem"] {
        padding: 5rem 0 2rem !important;
    }
    
    section[style*="padding: 5rem 0"] {
        padding: 3rem 0 !important;
    }
    
    section[style*="padding: 3rem 0 5rem"] {
        padding: 2rem 0 3rem !important;
    }
}

/* Card Padding on Mobile */
@media (max-width: 767px) {
    .feature-card {
        padding: 1.5rem !important;
    }
}

@media (max-width: 479px) {
    .feature-card {
        padding: 1.25rem !important;
    }
}

/* Badge Responsiveness */
@media (max-width: 767px) {
    .hero-badge[style*="font-size: 0.75rem"] {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.85rem !important;
    }
}

/* Icon Box Adjustments */
@media (max-width: 479px) {
    .icon-box {
        width: 55px !important;
        height: 55px !important;
    }
    
    .icon-box i {
        font-size: 1.5rem !important;
    }
}

/* List Items on Mobile */
@media (max-width: 479px) {
    ul[style*="list-style: none"] li {
        padding: 0.4rem 0 !important;
        padding-left: 1.75rem !important;
        font-size: 0.9rem !important;
    }
}

/* Button Adjustments */
@media (max-width: 767px) {
    .btn[style*="width: 100%"] {
        padding: 0.85rem 1.5rem !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 479px) {
    .btn[style*="width: 100%"] {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9rem !important;
    }
}

/* Video Container */
@media (max-width: 767px) {
    .video-container {
        margin: 0 -20px !important;
        border-radius: 0 !important;
    }
}

/* Text Alignment Center Sections */
@media (max-width: 767px) {
    div[style*="text-align: center; margin-bottom"] {
        padding: 0 1rem !important;
    }
}

/* Container Padding */
@media (max-width: 767px) {
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 479px) {
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* Hero Badge Specific */
@media (max-width: 479px) {
    .hero-badge {
        font-size: 0.75rem !important;
        padding: 0.4rem 1rem !important;
    }
}

/* Margin Bottom Adjustments */
@media (max-width: 767px) {
    div[style*="margin-bottom: 3rem"] {
        margin-bottom: 2rem !important;
    }
    
    div[style*="margin-bottom: 2rem"] {
        margin-bottom: 1.5rem !important;
    }
}
/* ===== PREMIUM COURSES PAGE - RESPONSIVE ONLY ===== */
/* Works with existing inline styles, only adds responsive behavior */

/* Pricing Cards Grid Responsiveness */
@media (max-width: 1200px) {
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))"] {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    }
}

@media (max-width: 991px) {
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))"] {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 1.5rem !important;
    }
    
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 767px) {
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))"],
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Remove scale effect on mobile for "Most Popular" card */
@media (max-width: 991px) {
    .feature-card[style*="transform: scale(1.05)"] {
        transform: scale(1) !important;
        margin: 0 !important;
    }
}

/* Price Display Responsiveness */
@media (max-width: 767px) {
    div[style*="font-size: 3.5rem"] {
        font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
    }
}

/* Pricing Plan Headings */
@media (max-width: 767px) {
    .feature-card h3[style*="font-size: 1.8rem"] {
        font-size: clamp(1.5rem, 4vw, 1.8rem) !important;
    }
}

/* Most Popular Badge Adjustment */
@media (max-width: 767px) {
    .feature-card div[style*="position: absolute; top: -15px"] {
        position: static !important;
        transform: none !important;
        margin-bottom: 1rem !important;
        display: inline-block !important;
    }
}

/* Money-back Guarantee Box */
@media (max-width: 767px) {
    div[style*="display: inline-block; padding: 1rem 2rem"] {
        padding: 1rem 1.5rem !important;
        display: block !important;
    }
    
    div[style*="display: inline-block; padding: 1rem 2rem"] i {
        font-size: 1.2rem !important;
    }
}

/* Premium Badge in Header */
@media (max-width: 767px) {
    .hero-badge[style*="background: rgba(255, 184, 0, 0.1)"] {
        font-size: 0.7rem !important;
        padding: 0.35rem 0.9rem !important;
    }
}

/* CTA Buttons Spacing */
@media (max-width: 767px) {
    .btn[style*="margin-right: 1rem"] {
        margin-right: 0 !important;
        margin-bottom: 1rem !important;
        display: block !important;
        width: 100% !important;
    }
}

/* List Items in Pricing Cards */
@media (max-width: 479px) {
    .feature-card ul[style*="list-style: none"] li {
        padding: 0.6rem 0 !important;
        padding-left: 1.75rem !important;
        font-size: 0.9rem !important;
    }
}

/* Feature Cards in "What You'll Master" Section */
@media (max-width: 991px) {
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] .feature-card h3 {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 767px) {
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] .feature-card {
        padding: 1.5rem !important;
    }
}

/* Text Alignment Center on Mobile */
@media (max-width: 767px) {
    section[style*="text-align: center"] div[style*="text-align: center"] {
        padding: 0 1rem !important;
    }
}

/* Max Width Container Adjustments */
@media (max-width: 1200px) {
    div[style*="max-width: 1100px"] {
        max-width: 100% !important;
    }
}

/* Border on Pricing Cards */
@media (max-width: 767px) {
    .feature-card[style*="border: 2px solid var(--neon-green)"] {
        border-width: 1px !important;
    }
}

/* Padding adjustments for premium page sections */
@media (max-width: 991px) {
    section[style*="padding: 8rem 0 3rem"] {
        padding: 6rem 0 2.5rem !important;
    }
    
    section[style*="padding: 5rem 0"] {
        padding: 4rem 0 !important;
    }
    
    section[style*="padding: 3rem 0 5rem"] {
        padding: 2.5rem 0 4rem !important;
    }
}

@media (max-width: 767px) {
    section[style*="padding: 8rem 0 3rem"] {
        padding: 5rem 0 2rem !important;
    }
    
    section[style*="padding: 5rem 0"] {
        padding: 3rem 0 !important;
    }
    
    section[style*="padding: 3rem 0 5rem"] {
        padding: 2rem 0 3rem !important;
    }
}

/* Heading Responsiveness for Premium Page */
@media (max-width: 991px) {
    section h1[style*="font-size"] {
        font-size: clamp(2rem, 6vw, 3rem) !important;
    }
    
    section h2[style*="font-size: 2.5rem"] {
        font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
    }
    
    section h2[style*="font-size: 2rem"] {
        font-size: clamp(1.5rem, 4vw, 2rem) !important;
    }
}

/* Paragraph Responsiveness */
@media (max-width: 991px) {
    section p[style*="font-size: 1.1rem"] {
        font-size: clamp(1rem, 2vw, 1.1rem) !important;
    }
}

@media (max-width: 767px) {
    section p[style*="font-size: 1.1rem"],
    section p[style*="max-width: 700px"] {
        font-size: 1rem !important;
        padding: 0 1rem !important;
    }
}

/* Margin adjustments */
@media (max-width: 767px) {
    div[style*="margin-bottom: 3rem"] {
        margin-bottom: 2rem !important;
    }
    
    div[style*="margin-bottom: 2rem"] {
        margin-bottom: 1.5rem !important;
    }
    
    div[style*="margin-top: 3rem"] {
        margin-top: 2rem !important;
    }
}

/* Video Container */
@media (max-width: 767px) {
    .video-container {
        margin: 0 -20px !important;
        border-radius: 0 !important;
    }
}

/* Container Padding */
@media (max-width: 767px) {
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 479px) {
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* ===== DASHBOARD PAGE - RESPONSIVE ENHANCEMENTS ===== */
/* Makes all dashboard elements responsive across all breakpoints */

/* Welcome Card Header Text */
@media (max-width: 991px) {
    .welcome-card h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
    }
    
    .welcome-card p {
        font-size: clamp(1rem, 2vw, 1.1rem) !important;
    }
}

@media (max-width: 767px) {
    .welcome-card {
        padding: 1.5rem !important;
    }
}

/* Stats Grid - Better Mobile Layout */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 767px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
}

/* Stat Cards */
@media (max-width: 767px) {
    .stat-card {
        padding: 1.5rem !important;
    }
    
    .stat-value {
        font-size: 2rem !important;
    }
    
    .stat-icon {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 1rem !important;
    }
    
    .stat-icon i {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 479px) {
    .stat-card {
        padding: 1.25rem !important;
    }
    
    .stat-value {
        font-size: 1.75rem !important;
    }
    
    .stat-label {
        font-size: 0.85rem !important;
    }
}

/* Quick Actions Grid */
@media (max-width: 991px) {
    .quick-actions {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }
}

@media (max-width: 767px) {
    .quick-actions {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* Action Buttons */
@media (max-width: 767px) {
    .action-btn {
        padding: 1.25rem !important;
    }
    
    .action-btn i {
        font-size: 1.25rem !important;
    }
    
    .action-btn-text h4 {
        font-size: 0.95rem !important;
    }
    
    .action-btn-text p {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 479px) {
    .action-btn {
        padding: 1rem !important;
        gap: 0.75rem !important;
    }
}

/* Activity Card */
@media (max-width: 767px) {
    .activity-card {
        padding: 1.5rem !important;
    }
    
    .activity-item {
        padding: 0.75rem 0 !important;
        gap: 0.75rem !important;
    }
    
    .activity-icon {
        width: 35px !important;
        height: 35px !important;
    }
    
    .activity-icon i {
        font-size: 0.9rem !important;
    }
    
    .activity-content h5 {
        font-size: 0.9rem !important;
    }
    
    .activity-content p {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 479px) {
    .activity-card {
        padding: 1rem !important;
    }
    
    .activity-item {
        flex-direction: row !important;
        gap: 0.5rem !important;
    }
}

/* Dashboard Container Padding */
@media (max-width: 991px) {
    .dashboard-container {
        padding: 6rem 0 2.5rem !important;
    }
}

@media (max-width: 767px) {
    .dashboard-container {
        padding: 5rem 0 2rem !important;
    }
}

/* Dashboard Headers */
@media (max-width: 991px) {
    .dashboard-header {
        margin-bottom: 2rem !important;
    }
    
    .dashboard-container h2 {
        font-size: clamp(1.5rem, 4vw, 2rem) !important;
    }
}

@media (max-width: 767px) {
    .dashboard-header {
        margin-bottom: 1.5rem !important;
    }
    
    .dashboard-container h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
}

/* Section Spacing */
@media (max-width: 767px) {
    .stats-grid,
    .quick-actions {
        margin-bottom: 2rem !important;
    }
}

/* Empty State Icons */
@media (max-width: 767px) {
    .activity-card div[style*="text-align: center"] i {
        font-size: 2.5rem !important;
    }
    
    .activity-card div[style*="text-align: center"] {
        padding: 1.5rem !important;
    }
}

/* Hover Effects - Disable on Touch Devices */
@media (hover: none) {
    .stat-card:hover {
        transform: none !important;
    }
    
    .action-btn:hover {
        transform: none !important;
    }
}

/* Ensure Proper Touch Targets on Mobile */
@media (max-width: 767px) {
    .action-btn {
        min-height: 60px !important;
    }
}

/* Container Padding for Dashboard */
@media (max-width: 767px) {
    .dashboard-container .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 479px) {
    .dashboard-container .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* Welcome Card Gradient - Maintain on Mobile */
@media (max-width: 767px) {
    .welcome-card {
        border-radius: 12px !important;
    }
}

/* Stats Grid - Equal Height Cards */
.stats-grid .stat-card {
    display: flex;
    flex-direction: column;
}

/* Quick Actions - Equal Height Cards */
.quick-actions .action-btn {
    display: flex;
    align-items: center;
}

/* Activity Card Date/Time Wrapping */
@media (max-width: 479px) {
    .activity-content p {
        word-break: break-word !important;
        line-height: 1.4 !important;
    }
}

