/* ===================================
   BRIGHT AESTHETIC THEME
   Modern, Vibrant, Dynamic
   =================================== */

:root {
    /* Vibrant Color Palette */
    --primary-color: #3b82f6;
    /* Bright Blue */
    --secondary-color: #8b5cf6;
    /* Purple */
    --accent-color: #f59e0b;
    /* Amber */
    --success-color: #10b981;
    /* Green */
    --pink-color: #ec4899;
    /* Pink */
    --cyan-color: #06b6d4;
    /* Cyan */

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --bg-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --bg-gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --bg-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);

    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-color: 0 8px 32px rgba(102, 126, 234, 0.25);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

/* Navbar Toggler */
.navbar-toggler {
    border-color: var(--text-secondary);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(100, 116, 139, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--bg-gradient-1);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    padding: 120px 0 80px;
    background: var(--bg-hero);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.8;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

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

/* ===================================
   BUTTONS
   =================================== */

.btn-primary {
    background: var(--bg-gradient-1);
    border: none;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ===================================
   CARDS
   =================================== */

.card {
    background: white;
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 2rem;
}

.card-title {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-title a {
    color: var(--text-primary) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--primary-color);
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   BADGES & CATEGORIES
   =================================== */

.badge-category {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.badge-category:hover {
    background: var(--primary-color);
    color: white;
}

/* Tag Style (The old Category Style) */
.badge-tag {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.badge-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white;
}

/* ===================================
   SECTIONS
   =================================== */

section {
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 5px;
    background: var(--bg-gradient-1);
    border-radius: 3px;
}

/* Feature Cards with Gradient Borders */
.feature-card {
    position: relative;
    padding: 2px;
    background: var(--bg-gradient-1);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: var(--bg-gradient-1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-inner {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
}

/* ===================================
   NEWSLETTER SECTION
   =================================== */

.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.newsletter-section .form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    font-size: 1rem;
    color: var(--text-primary);
}

.newsletter-section .form-control:focus {
    background: white;
    border-color: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.newsletter-section .btn {
    padding: 14px 32px;
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    border-radius: var(--radius-md);
}

.newsletter-section .btn:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

/* ===================================
   FOOTER
   =================================== */

footer {
    background: linear-gradient(to bottom, #f8fafc 0%, #e2e8f0 100%);
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer h5 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.hover-primary:hover {
    color: var(--primary-color) !important;
}

.bg-gradient-primary {
    background: var(--bg-gradient-1);
}

.bg-gradient-secondary {
    background: var(--bg-gradient-2);
}

.text-gradient {
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Text Color Utilities */
.text-primary-dark {
    color: var(--text-primary) !important;
}

.text-secondary-dark {
    color: var(--text-secondary) !important;
}

.text-white-force {
    color: white !important;
}

/* Background utilities */
.bg-light {
    background-color: var(--bg-secondary) !important;
}

/* Alignment utilities */
.align-items-center {
    align-items: center !important;
}

.justify-content-center {
    justify-content: center !important;
}

/* Card text colors */
.card {
    color: var(--text-primary);
}

.card .text-muted,
.card .text-secondary {
    color: var(--text-secondary) !important;
}

.card .fw-bold,
.card .font-weight-bold {
    color: var(--text-primary) !important;
}

/* Newsletter form improvements */
.newsletter-section input::placeholder {
    color: var(--text-secondary);
}

.newsletter-section input {
    color: var(--text-primary) !important;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===================================
   RESPONSIVE
   =================================== */

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

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

    .navbar-brand {
        font-size: 1.25rem;
    }
}