:root {
    --purple-primary: #6b21a8;
    --purple-light: #a78bfa;
    --purple-lighter: #ede9fe;
    --blue-accent: #3b82f6;
    --text-dark: #1e1e1e;
    --text-muted: #6b7280;
    --bg-light: #f8faff;
    --bg-white: #ffffff;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --radius-lg: 20px;
    --radius-md: 15px;
    --radius-sm: 10px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

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

/* Navbar */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    background: #fff;
    z-index: 1030;
}

.navbar-brand img {
    height: 48px;
}

.nav-link {
    font-weight: 500;
    color: #374151 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
}

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

.btn-signup,
.btn-create-event {
    background: var(--purple-light);
    color: #333;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    border: none;
}

.btn-signup:hover,
.btn-create-event:hover {
    background: var(--purple-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4c1d95 0%, #1e3a8a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.2);
}

#heroCarousel .carousel-item img {
    object-fit: cover;
    height: 100vh;
    min-height: 560px;
}

.carousel-caption {
    bottom: 15%;
    text-align: left;
    max-width: 600px;
    left: 10% !important;
    right: auto !important;
}

.carousel-caption h3 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.carousel-caption p {
    font-size: 1.3rem;
    margin: 1.5rem 0;
    opacity: 0.95;
}

.btn-explore {
    background: var(--purple-light);
    color: #333;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-explore:hover {
    background: #fff;
    color: var(--purple-primary);
    transform: translateY(-3px);
}

.btn-white {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 1rem 2.5rem;;
    border-radius: 50px;
    font-weight: 700;
}

.btn-white:hover {
    background: #fff;
    color: var(--purple-primary);
    transform: translateY(-4px);
}

.btn-create {
    background: var(--purple-light);
    color: #333;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
}

.btn-create:hover {
    background: #fff;    
    color: var(--purple-primary);
    transform: translateY(-4px);
}

/* Section Common */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Featured Events */
.featured-events {
    background: var(--bg-light);
}

.btn-filter {
    background: #e5e7eb;
    color: #374151;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    margin-left: 0.5rem;
}

.btn-filter.active,
.btn-filter:hover {
    background: var(--purple-primary);
    color: #fff;
}

.event-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-md);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-card .card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-card h5 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0.4rem 0;
}

.event-info i {
    color: var(--purple-primary);
    margin-right: 0.5rem;
}

.btn-view-all {
    background: var(--purple-light);
    color: #333;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-view-all:hover {
    background: var(--purple-primary);
    color: #fff;
}

/* Services */
.service-card {
    background: #fff;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-md);
    /*text-align: center;*/
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 60px;
    height: 60px;
    /*margin: 0 auto 1.5rem;*/
    background: var(--purple-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--purple-primary);
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 4rem;
    /*color: var(--purple-lighter);*/
    opacity: 0.5;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 2rem;
}

.user-info img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid var(--purple-lighter);
}

.rating .star {
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23a78bfa"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>') center/cover;
    display: inline-block;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--purple-primary), var(--blue-accent));
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section .lead {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Footer */
.footer-section {
    background: #111827;
    color: #d1d5db;
}

.footer-section a {
    color: #9ca3af;
}

.footer-section a:hover {
    color: var(--purple-light);
}

.footer-section h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.social-icons i {
    font-size: 1.8rem;
    margin-right: 1rem;
    transition: var(--transition);
}

.social-icons i:hover {
    color: var(--purple-light);
    transform: translateY(-3px);
}
.bg-light-purple {
    background-color: #e6d9ff !important; /* màu tím nhạt giống ảnh */
}
/* Responsive */
@media (max-width: 992px) {
    .carousel-caption h3 { font-size: 2.8rem; }
    .carousel-caption { bottom: 10%; left: 5% !important; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .section-title { font-size: 2.3rem; }
    .carousel-caption h3 { font-size: 2.3rem; }
    .carousel-caption p { font-size: 1.1rem; }
    .btn-group { justify-content: center; margin-bottom: 1rem; }
}

@media (max-width: 576px) {
    .carousel-caption h3 { font-size: 2rem; }
    .btn-explore, .btn-white { padding: 0.8rem 1.5rem; font-size: 1rem; }
}