:root {
    --primary-color: #0065b3;
    --primary-purple: #6B46C1;
    --primary-orange: #fcae18;
    --primary-green: #10B981;
    --primary-blue: #3B82F6;
    --primary-pink: #EC4899;
}

body {
    font-family: 'Quicksand', sans-serif;
    overflow-x: hidden;
	padding-top: 88px;
}

.navbar {
    background: linear-gradient(135deg, #ffffff, #ffffff);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: white !important;
}

.navbar-nav .nav-link {            
    font-weight: 500;
    margin: 0 0.3rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    transform: translateY(-2px);
    color: #FEF3C7 !important;
}



.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.floating-icon:nth-child(3) { top: 60%; left: 5%; animation-delay: 2s; }
.floating-icon:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 3s; }
.floating-icon:nth-child(5) { top: 40%; left: 20%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #E5E7EB;
    margin-bottom: 2rem;
}

.btn-hero {
    background: linear-gradient(135deg, var(--primary-orange), #EF4444);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    color: white;
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 3rem 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.stat-item {
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Programs Section */
.programs-section {
    background: #F8FAFC;
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    color: var(--primary-purple);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
}

.program-card {
    background: white;
    border-radius: 5px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.program-btn {
    border: none;
    padding: 0.4rem 1.2rem;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.program-card:nth-child(1) .program-btn { background: var(--primary-pink); color: white; }
.program-card:nth-child(2) .program-btn { background: var(--primary-green); color: white; }
.program-card:nth-child(3) .program-btn { background: var(--primary-blue); color: white; }
.program-card:nth-child(4) .program-btn { background: var(--primary-orange); color: white; }

/* Activity Section */
.activity-section {
    background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
    padding: 5rem 0;
    position: relative;
}

.activity-content {
    background: var(--primary-green);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

.activity-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Features Grid */
.features-section {
    padding: 5rem 0;
    background: white;
}

.feature-card {
    /*background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));*/
    border-radius: 5px;
    padding: 2rem;
    color: white;
    text-align: center;            
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.05);
}

.feature-card.pink { background: linear-gradient(135deg, var(--primary-pink), #EC4899); }
.feature-card.orange { background: linear-gradient(135deg, var(--primary-orange), #F59E0B); }
.feature-card.purple { background: linear-gradient(135deg, var(--primary-purple), #8B5CF6); }
.feature-card.green { background: linear-gradient(135deg, var(--primary-green), #059669); }

/* Why Choose Us */
.why-section {
    background: #F8FAFC;
    padding: 5rem 0;
}

.why-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.why-card:hover {
    transform: translateY(-5px);
}

/* Events Section */
.events-section {
    padding: 5rem 0;
    background: white;
}

.event-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-price {
    background: var(--primary-orange);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    /*background: linear-gradient(135deg, var(--primary-purple), #8B5CF6);*/
    background-color: #8B5CF6;
    background-image: url('/assets/images/doodle_bg2.png');
    padding: 5rem 0;
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.cta-icon {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Newsletter Section */
.newsletter-section {
    /*background: linear-gradient(135deg, var(--primary-purple), #8B5CF6);*/
    background-color:#8B5CF6;
    background-image: url('/assets/images/doodle_bg.png');
    padding: 3rem 0;
}

.newsletter-input {
    border-radius: 25px 0 0 25px;
    border: none;
    padding: 0.8rem 1.5rem;
}

.newsletter-btn {
    border-radius: 0 25px 25px 0;
    padding: 0.8rem 2rem;
    background: #FCD34D;
    border: none;
    color: #374151;
    font-weight: bold;
}

/* Footer */
.footer {
    background: #1F2937;
    color: white;
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.footer a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.3rem 0;
}

.footer a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-purple);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--primary-orange);
    width: 20px;
    margin-right: 0.8rem;
}

.copyright-section {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .newsletter-input,
    .newsletter-btn {
        border-radius: 25px;
        margin-bottom: 1rem;
    }
}


/* Đảm bảo section chứa carousel hiển thị */
.carousel-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: visible;
}
#carousel .carousel-item {
	height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}
.carousel-caption {
    bottom: 20%;
    text-align: left;
    max-width: 600px;
}
.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
}
.carousel-caption p {
    font-size: 1.2rem;
    margin: 20px 0;
}
.carousel-caption .btn {
    margin-top: 10px;
}

.carousel-control-prev, .carousel-control-next {
    z-index: 10;
    width: 5%;
    opacity: 0.8;
}
.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
}

/* Ẩn các phần tử trước khi hiệu ứng chạy */
.carousel-caption h1, .carousel-caption p, .carousel-caption .btn {
    visibility: hidden;
}
.carousel-caption h1.wow, .carousel-caption p.wow, .carousel-caption .btn.wow {
    visibility: visible;
}

.breadcrumb{
    background-image: url('/assets/images/breadcrumb.jpg');
}
.course-item {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 2px 2px 10px #cecece;
    margin-top: 30px;
    min-height: 295px;
	border: 1px solid #dfe2e6;
}
.course-item .course-item-detail {
    padding: 10px 10px 0px 10px;
}
.course-item .course-item-detail h3.title {
    font-size: 16px;
    color: #4c6379;
    margin: 0;
    text-align: left;
    font-weight: bold;
    margin-bottom: 10px;
    min-height: 58px;
}
.course-item .course-item-image {
    display: block;
    position: relative;
    /* max-width: 255px; */
    height: 153px;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
 /* CSS để định dạng nút Messenger */
    .messenger-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #0084ff; /* Màu xanh Messenger */
      border-radius: 50px;
      padding: 12px 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      text-decoration: none;
      color: white;
      font-family: Arial, sans-serif;
      font-size: 16px;
      transition: transform 0.2s ease, background-color 0.2s ease;
      z-index: 1000; /* Đảm bảo nút nằm trên các phần tử khác */
    }

    .messenger-button:hover {
      background-color: #006cff; /* Màu tối hơn khi hover */
      transform: scale(1.05); /* Phóng to nhẹ khi hover */
    }

    .messenger-icon {
      width: 24px;
      height: 24px;
      margin-right: 8px;
      vertical-align: middle;
    }