:root {
    --bs-primary: #1a365d;
    --bs-primary-dark: #0f2545;
    --bs-warning: #fbc02d;
    --bs-danger: #e57373;
    --bs-success: #81c784;
    --bs-info: #64b5f6;
    
    --bg-light: #fefaf6;
    --text-primary-dark: #122138;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-light);
    color: #4a5568;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .hero-title, .brand-name {
    font-family: 'Fredoka', sans-serif;
}

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

.bg-primary-dark {
    background-color: var(--text-primary-dark) !important;
}

/* Custom Buttons */
.btn-custom {
    font-family: 'Nunito', sans-serif;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    box-shadow: 0 4px 6px rgba(251, 192, 45, 0.2);
    transition: all 0.3s ease;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(251, 192, 45, 0.3);
}

.btn-custom-outline {
    font-family: 'Nunito', sans-serif;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    border-width: 2px;
    transition: all 0.3s ease;
}

.btn-custom-outline:hover {
    background-color: var(--text-primary-dark);
    color: white !important;
}

/* Navbar */
.nav-link {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: var(--text-primary-dark) !important;
    position: relative;
    padding: 0.5rem 0.6rem !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--bs-warning);
    border-radius: 50%;
}

/* Hero Section */
.hero-section {
    padding-top: 2rem;
}

.hero-shape-blue {
    top: -20%;
    left: -15%;
    width: 40%;
    height: 120%;
    background-color: #4a90e2;
    border-radius: 0 50% 50% 0;
    z-index: 0;
    opacity: 0.08;
    transform: rotate(-10deg);
}

.squiggle-line {
    width: 40px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='6' viewBox='0 0 40 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 3C6 3 8 5 12 5C16 5 18 1 22 1C26 1 28 5 32 5C36 5 38 3 42 3' stroke='%2381c784' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

.squiggle-line-green {
    width: 40px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='6' viewBox='0 0 40 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 3C6 3 8 5 12 5C16 5 18 1 22 1C26 1 28 5 32 5C36 5 38 3 42 3' stroke='%2381c784' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

.hero-sparkles {
    top: -30px;
    right: 50px;
    transform: rotate(15deg);
}

.blob-green {
    bottom: -20px;
    left: -40px;
    width: 150px;
    height: 150px;
    background-color: #81c784;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 0;
}

.hero-badge {
    bottom: 20px;
    right: -30px;
    width: 120px;
    height: 120px;
}

.rotating-text {
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Features Section */
.features-section {
    margin-top: -60px;
}

.custom-features-box {
    border-radius: 2rem !important;
}

.feature-icon {
    width: 70px;
    height: 70px;
    transition: transform 0.3s ease;
}

.col:hover .feature-icon {
    transform: translateY(-5px);
}

.bg-success-subtle { background-color: #e8f5e9 !important; }
.bg-warning-subtle { background-color: #fff8e1 !important; }
.bg-primary-subtle { background-color: #e3f2fd !important; }
.bg-danger-subtle { background-color: #fce4ec !important; }

/* Welcome Section */
.rainbow-shape {
    bottom: -20px;
    left: 20%;
    z-index: -1;
}

.rounded-custom-alt {
    border-radius: 40px 100px 40px 40px;
}

/* Programs Section */
.rounded-custom-xl {
    border-radius: 3rem !important;
}

.custom-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
}

.icon-box-programs {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid currentColor;
    border-radius: 20px;
    opacity: 0.8;
}

.icon-box-programs i {
    opacity: 0.8;
}

/* Dots Decoration */
.dots-decoration {
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(#81c784 3px, transparent 3px);
    background-size: 15px 15px;
}

/* Testimonial & CTA */
.custom-testimonial-box {
    background-color: #fefaf6 !important;
    border: 1px solid #f0e6d2;
}

.cta-box {
    border-radius: 2rem !important;
}

.plant-shape {
    bottom: 0;
    right: 20px;
}

/* General Layout adjustments */
@media (max-width: 991.98px) {
    .features-section {
        margin-top: 0;
    }
    .hero-shape-blue {
        display: none;
    }
    .hero-badge {
        right: 10px;
        bottom: 10px;
        width: 100px;
        height: 100px;
    }
}

/* Footer & Top Bar Styles */
.top-social-link {
    transition: color 0.3s ease;
}
.top-social-link:hover {
    color: var(--bs-warning) !important;
}

.footer-link {
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.footer-link:hover {
    color: var(--bs-warning) !important;
    text-decoration: none;
    padding-left: 5px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.footer-social-link:hover {
    background-color: var(--bs-warning);
    color: var(--bs-primary-dark) !important;
    transform: translateY(-3px);
}

/* Custom Accordion */
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #fff;
    color: var(--bs-primary-dark);
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}
.custom-accordion .accordion-button:focus {
    box-shadow: none;
    outline: none;
}
.custom-accordion .accordion-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.custom-accordion .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1) !important;
}

/* Custom Carousel Indicators */
.custom-indicators [data-bs-target] {
    background-color: var(--bs-primary-dark);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    opacity: 0.5;
    transition: all 0.3s ease;
}
.custom-indicators .active {
    background-color: var(--bs-warning);
    opacity: 1;
    transform: scale(1.3);
}
