: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);
}

/* Team Arched Card Design (Meet The Team Bio - 4 per row layout) */
.team-arch-card {
    border-radius: 140px 140px 30px 30px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: none;
    position: relative;
    padding: 0 1rem 1.75rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.team-arch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

.team-arch-img-box {
    width: 100%;
    height: 290px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 0.5rem;
    overflow: hidden;
    z-index: 1;
}

.team-arch-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    transition: transform 0.4s ease;
}

.team-arch-card:hover .team-arch-img-box img {
    transform: scale(1.06);
}

/* White gradient overlay at bottom of card for crisp text contrast */
.team-arch-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 35%, #ffffff 75%);
    z-index: 2;
    pointer-events: none;
}

.team-arch-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.team-arch-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0d2b45;
    margin-bottom: 0.25rem;
    font-family: 'Poppins', sans-serif;
}

.team-arch-designation {
    font-size: 0.72rem;
    font-weight: 600;
    text-uppercase: uppercase;
    letter-spacing: 1.2px;
    color: #707e94;
    margin-bottom: 0.6rem;
}

.team-arch-bio {
    font-size: 0.8rem;
    color: #556075;
    line-height: 1.5;
    margin-bottom: 1rem;
    padding: 0 0.25rem;
}

.team-arch-social {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.team-arch-social a {
    color: #0d2b45;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.team-arch-social a:hover {
    color: #fbc02d;
    transform: translateY(-2px);
}

/* Card Themes matching NextGenPro Palette */
.team-bg-amber {
    background: linear-gradient(180deg, #ffca28 0%, #f57c00 100%);
}

.team-bg-purple {
    background: linear-gradient(180deg, #ce93d8 0%, #ab47bc 100%);
}

.team-bg-cyan {
    background: linear-gradient(180deg, #80deea 0%, #00acc1 100%);
}

/* Floating Action Buttons (Right Side WhatsApp & Call) */
.floating-actions-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.45rem;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.float-btn-whatsapp {
    background-color: #25d366;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.float-btn-whatsapp:hover {
    background-color: #20ba5a;
    color: #ffffff;
    transform: scale(1.12);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
}

.float-btn-call {
    background-color: #fbc02d;
    color: #0d2b45;
    box-shadow: 0 8px 20px rgba(251, 192, 45, 0.4);
}

.float-btn-call:hover {
    background-color: #f5b000;
    color: #0d2b45;
    transform: scale(1.12);
    box-shadow: 0 12px 28px rgba(251, 192, 45, 0.6);
}

/* Floating Tooltip */
.float-btn .float-tooltip {
    position: absolute;
    right: 66px;
    background: rgba(13, 43, 69, 0.92);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(10px);
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.float-btn:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 576px) {
    .floating-actions-container {
        bottom: 18px;
        right: 18px;
        gap: 10px;
    }
    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

.team-bg-rose {
    background: linear-gradient(180deg, #f48fb1 0%, #ec407a 100%);
}

.team-bg-navy {
    background: linear-gradient(180deg, #90caf9 0%, #1e88e5 100%);
}

.team-bg-emerald {
    background: linear-gradient(180deg, #a5d6a7 0%, #2e7d32 100%);
}
