/* Reset and base styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;
}

/* Header Styles */
.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: linear-gradient(to bottom right, #4fd1c5, #3182ce);
}

.nav-link {
    color: #4b5563;
}

.nav-link:hover {
    color: #111827;
}

.nav-link.active {
    color: #0d9488;
    font-weight: 500;
}
/* Footer style */
h4.fw-bold {
  color: #0f0f0f; 
}

/* Button Styles */
.btn-promo {
    background: linear-gradient(to right, #ec4899, #9333ea);
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s;
}

.btn-promo:hover {
    background: linear-gradient(to right, #db2777, #7e22ce);
    color: white;
}

.btn-teal {
    background-color: #0d9488;
    color: white;
    border: none;
}

.btn-teal:hover {
    background-color: #0f766e;
    color: white;
}

.btn-outline-teal {
    color: #0d9488;
    border-color: #0d9488;
}

.btn-outline-teal:hover {
    background-color: #0d9488;
    color: white;
}

/* Color and Background Classes */
.text-teal {
    color: #0d9488 !important;
}

.text-teal-dark {
    color: #115e59;
}

.text-pink {
    color: #ec4899;
}

.text-purple {
    color: #8b5cf6;
}

.bg-teal {
    background-color: #0d9488;
}

.bg-teal-light {
    background-color: #ccfbf1;
}

.bg-pink {
    background-color: #ec4899;
}

.bg-purple-light {
    background-color: #f3e8ff;
}

.bg-pink-light {
    background-color: #fce7f3;
}

.bg-blue-light {
    background-color: #dbeafe;
}

.bg-danger-subtle {
    background-color: #fecdd3;
}

/* Background Gradients */
.bg-gradient-purple-pink {
    background: linear-gradient(to right, #8b5cf6, #ec4899);
}

.bg-gradient-teal-blue {
    background: linear-gradient(to right, #0d9488, #3b82f6);
}

/* Form control customization */
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 148, 136, 0.25);
    border-color: #0d9488;
}

/* Card Styles */
.card-course {
    transition: all 0.3s;
    border-radius: 1rem;
    overflow: hidden;
}

.card-course:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-emoji {
    font-size: 4rem;
    padding: 1.5rem;
    text-align: center;
}

.testimonial-card {
    background-color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.special-offer-card {
    border: 4px solid #fbcfe8;
    border-radius: 1rem;
    overflow: hidden;
}

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #fecdd3;
    color: #9f1239;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
}

/* Section Styles */
.hero-section {
    position: relative;
    background: linear-gradient(to right, #f3e8ff, #fce7f3);
    padding: 5rem 0;
    overflow: hidden;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
}

.cta-section {
  background: linear-gradient(to right, #ffe4e6, #d8b4fe, #bfdbfe);
  color: #1f2937; /* text-dark */
  padding: 4rem 0;
}



.stats-container {
    background-color: #0d9488;
    color: white;
    padding: 4rem 0;
}

.stats-item {
    text-align: center;
}

/* Countdown Timer */
.countdown-item {
    background: linear-gradient(to bottom right, #ec4899, #9333ea);
    color: white;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
}

/* Tab styling */
.nav-tabs .nav-link {
    color: #6c757d;
    border: none;
    border-bottom: 2px solid transparent;
}

.nav-tabs .nav-link.active {
    color: #0d9488;
    border-bottom: 2px solid #0d9488;
}

.nav-tabs .nav-link:hover:not(.active) {
    color: #495057;
    border-bottom: 2px solid #e9ecef;
}

/* Accordion custom styles */
.accordion-button:not(.collapsed) {
    color: #0d9488;
    background-color: #f0fdfa;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 148, 136, 0.25);
    border-color: #0d9488;
}

/* Utility Classes */
.rounded-4 {
    border-radius: 1rem;
}

.last-mb-0:last-child {
    margin-bottom: 0 !important;
}

.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.rotate-180 {
    transform: rotate(180deg);
}

.transition-transform {
    transition: transform 0.3s ease;
}

/* Footer styles */
.hover-white:hover {
    color: white !important;
}

/* Animation classes */
.animation-bounce {
    animation: bounce 2s infinite;
}

.animation-pulse {
    animation: pulse 2s infinite;
}

@keyframes bounce {

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

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Social Floating Icons - dùng chung cho mọi trang */
.social-float {
  position: fixed;
  bottom: 40px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 9999 !important;
  pointer-events: all;
}
.social-float[data-aos] {
}
.social-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 4px solid #1877f3;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s;
}
.social-icon[data-aos] {
}
.social-icon.zalo { border-color: #25d366; }
.social-icon.facebook { border-color: #1877f3; }
.social-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.social-icon:hover {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 4px 16px rgba(24,119,243,0.18);
  z-index: 1000;
}

body, html {
  overflow-x: visible !important;
}

.navbar-nav .nav-link.active {
  color: #2196f3 !important;
  font-weight: bold;
  position: relative;
  background: none;
}

.navbar-nav .nav-link.active::after {
  content: "";
  display: block;
  margin: 0 auto;
  margin-top: 4px;
  width: 70%;
  height: 3px;
  background: #2196f3;
  border-radius: 2px;
}

@media (max-width: 767.98px) {
  .navbar-nav .nav-link.active::after {
    width: 100%;
    left: 0;
    right: 0;
    margin: 0;
    transform: none;
  }
  .navbar-nav .nav-link.active {
    display: inline-block;
  }
}

@media (max-width: 400px) {
  .navbar .d-flex.align-items-center {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    justify-content: center !important;
    width: 100%;
  }
  .navbar .d-flex.align-items-center img {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    position: relative;
    z-index: 2;
  }
  .navbar-nav {
    width: 100%;
    justify-content: center !important;
    margin-top: 0.5rem;
    z-index: 1;
  }
}

@media (max-width: 576px) {
  .navbar .container {
    flex-direction: column !important;
    align-items: center !important;
  }
  .navbar .d-flex.align-items-center {
    width: 100%;
    justify-content: center !important;
    margin-bottom: 0.5rem;
  }
  .navbar .d-flex.align-items-center img {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    max-width: 160px;
    height: auto;
  }
  .navbar-toggler {
    position: absolute;
    left: 1rem;
    top: 1.2rem;
    z-index: 11;
  }
  .navbar-collapse {
    width: 100%;
  }
  .navbar-nav {
    width: 100%;
    justify-content: center !important;
    margin-top: 0.5rem;
    z-index: 1;
    text-align: center;
  }
}