/* General Styling */
body {
    font-family: 'Inter', sans-serif; /* A modern, clean font - consider importing Google Fonts if not locally available */
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif; /* A bold, impactful font for headings */
    color: #1a202c;
}

.display-3, .display-4, .display-5 {
    letter-spacing: -0.03em;
}

.text-primary {
    color: #6a0dad !important; /* A deep purple for emphasis, typical of Tally.so's branding */
}

.btn-primary {
    background-color: #6a0dad;
    border-color: #6a0dad;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #4a008a; /* Darker purple on hover */
    border-color: #4a008a;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: #6a0dad;
    border-color: #6a0dad;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #6a0dad;
    color: #fff;
}

/* Background Gradients */
.bg-light-gradient {
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e7ee 100%);
}

.bg-primary {
    background: linear-gradient(135deg, #6a0dad 0%, #4a008a 100%) !important;
}

/* Section Padding */
.py-lg-8 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

/* Hero Section Specifics */
.hero-section {
    padding-top: 100px; /* Adjust for navbar height */
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.animated-text span {
    display: inline-block;
    animation: bounceIn 1s ease-out forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}
.feature-icon {
    font-size: 3rem;
    line-height: 1;
}

/* Testimonials */
.testimonial-card {
    max-width: 700px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.testimonial-card p {
    font-size: 1.1rem;
}

/* Carousel controls customization */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5); /* Semi-transparent black */
    border-radius: 50%;
    padding: 15px; /* Adjust size */
}
.carousel-control-prev,
.carousel-control-next {
    width: 5%; /* Make controls thinner */
}


/* General Shadows and Borders */
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

.rounded {
    border-radius: 0.5rem !important;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .display-3 {
        font-size: 2.5rem;
    }
    .lead {
        font-size: 1rem;
    }
    .py-lg-8 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    .hero-section {
        padding-top: 80px;
        padding-bottom: 60px;
    }
}

.image-wrapper {
  width: 70px;
  height: 70px;
  background-color: white;
  display: flex;
  justify-content: center; /* căn giữa theo chiều ngang */
  align-items: center;     /* căn giữa theo chiều dọc */
  overflow: hidden;        /* ẩn phần ảnh vượt ra ngoài nếu cần */
}