/* Phonic Champs Color Palette Override */
:root {
    /* Phonic Champs Primary Colors */
    --bs-primary: #0D2C54 !important;    /* Navy - Primary */
    --bs-secondary: #F6511D !important;  /* Crimson - Secondary */

    /* Additional Brand Colors */
    --bs-amber: #FFB400;
    --bs-lime: #7FB800;
    --bs-navy: #0D2C54;
    --bs-crimson: #F6511D;
    --bs-sky: #00A6ED;

    --phonic-amber: #FFB400;
    --phonic-lime: #7FB800;
    --phonic-navy: #0D2C54;
    --phonic-crimson: #F6511D;
    --phonic-sky: #00A6ED;

    /* Light variations - using very light versions of brand colors */
    --bs-light: rgba(13, 44, 84, 0.05) !important;  /* Very light navy tint */
    --bs-dark: #0D2C54 !important;       /* Navy */

    /* White for hover states */
    --bs-white: #ffffff;

    /* Update link colors */
    --bs-link-color: #0D2C54;
    --bs-link-hover-color: #F6511D;
}

/* Force light background to use brand color palette */
html,
body {
    --bs-light: rgba(13, 44, 84, 0.05) !important;
}

/* Override specific elements to use Phonic Champs colors */
.bg-primary {
    background-color: #0D2C54 !important;
}

.bg-secondary {
    background-color: #F6511D !important;
}

.text-primary {
    color: #0D2C54 !important;
}

.text-secondary {
    color: #F6511D !important;
}

.btn-primary {
    background-color: #0D2C54 !important;
    border-color: #0D2C54 !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: #F6511D !important;
    border-color: #F6511D !important;
    color: #ffffff !important;
}

.btn-secondary {
    background-color: #F6511D !important;
    border-color: #F6511D !important;
    color: #ffffff !important;
}

.btn-secondary:hover {
    background-color: #0D2C54 !important;
    border-color: #0D2C54 !important;
    color: #ffffff !important;
}

/* Additional color utilities for Phonic Champs palette */
.bg-amber {
    background-color: #FFB400 !important;
}

.bg-lime {
    background-color: #7FB800 !important;
}

.bg-navy {
    background-color: #0D2C54 !important;
}

.text-amber {
    color: #FFB400 !important;
}

.text-lime {
    color: #7FB800 !important;
}

.text-navy {
    color: #0D2C54 !important;
}

/* Update navbar and topbar colors */
.topbar.bg-primary {
    background-color: #0D2C54 !important; /* Navy for topbar */
}

/* Border colors */
.border-primary {
    border-color: #0D2C54 !important;
}

.border-secondary {
    border-color: #F6511D !important;
}

/* Sky blue utility classes (previously primary) */
.bg-sky {
    background-color: #00A6ED !important;
}

.text-sky {
    color: #00A6ED !important;
}

.border-sky {
    border-color: #00A6ED !important;
}

.border-amber {
    border-color: #FFB400 !important;
}

.border-lime {
    border-color: #7FB800 !important;
}

/* Background overrides - Use very light opacity of brand colors */
.bg-light,
.team.bg-light,
.events.bg-light,
.blog-date-comments.bg-light,
.blog-content.bg-light,
.testimonial-item.bg-light,
.border-bottom.bg-light,
.rounded-bottom.bg-light {
    background-color: rgba(13, 44, 84, 0.05) !important;  /* 5% navy opacity */
}

/* About section - override background with brand color */
.about.bg-light {
    background: rgba(255, 180, 0, 0.08) !important;  /* Light amber background */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Service/Courses section - override pink gradient with brand colors */
.service,
.container-fluid.service,
div.service {
    background: linear-gradient(rgba(13, 44, 84, 0.03), rgba(255, 180, 0, 0.08)) !important;  /* Navy to Amber gradient */
}

/* Program section - override pink background with brand colors */
.program,
.container-fluid.program,
div.program {
    background: linear-gradient(rgba(0, 166, 237, 0.05), rgba(127, 184, 0, 0.05)) !important;  /* Sky to Lime gradient */
}

/* Alternative light backgrounds using different brand colors */
.bg-light-navy {
    background-color: rgba(13, 44, 84, 0.05) !important;  /* 5% navy */
}

.bg-light-crimson {
    background-color: rgba(246, 81, 29, 0.05) !important;  /* 5% crimson */
}

.bg-light-amber {
    background-color: rgba(255, 180, 0, 0.08) !important;  /* 8% amber */
}

.bg-light-lime {
    background-color: rgba(127, 184, 0, 0.08) !important;  /* 8% lime */
}

.bg-light-sky {
    background-color: rgba(0, 166, 237, 0.05) !important;  /* 5% sky */
}

/* Hero Carousel Custom Styles */
.hero-carousel .carousel-item {
    transition: transform 1s ease-in-out, opacity 0.5s ease-in-out;
}

.hero-carousel .carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 1s;
}

.hero-carousel .carousel-fade .carousel-item.active {
    opacity: 1;
}

.hero-carousel .carousel-indicators {
    margin-bottom: 2rem;
}

.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid #FFB400;
    margin: 0 8px;
}

.hero-carousel .carousel-indicators button.active {
    background-color: #FFB400;
    width: 40px;
    border-radius: 6px;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: rgba(13, 44, 84, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.hero-carousel .carousel-control-prev {
    left: 20px;
}

.hero-carousel .carousel-control-next {
    right: 20px;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(246, 81, 29, 0.9);
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

/* Responsive adjustments for hero carousel */
@media (max-width: 768px) {
    .hero-carousel .hero-slide {
        min-height: 500px !important;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .hero-carousel .carousel-control-prev {
        left: 10px;
    }

    .hero-carousel .carousel-control-next {
        right: 10px;
    }

    .hero-carousel .carousel-control-prev-icon,
    .hero-carousel .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }
}

/* Trust Indicators Section Styles */
.trust-indicator {
    transition: transform 0.3s ease;
}

.trust-indicator:hover {
    transform: translateY(-10px);
}

.trust-indicator .icon-circle {
    transition: all 0.3s ease;
}

.trust-indicator:hover .icon-circle {
    background: rgba(255, 180, 0, 0.3) !important;
    transform: scale(1.1);
}

.trust-indicator h2 {
    font-family: 'Fredoka', sans-serif;
}

/* Trust Badges Styles */
.trust-badges .badge-item {
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.trust-badges .badge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.trust-badges .badge-item span {
    font-size: 1rem;
}

/* Responsive adjustments for trust indicators */
@media (max-width: 768px) {
    .trust-indicator h2 {
        font-size: 2.5rem !important;
    }

    .trust-indicator .icon-circle {
        width: 60px !important;
        height: 60px !important;
    }

    .trust-indicator .icon-circle i {
        font-size: 2rem !important;
    }

    .trust-badges .badge-item {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem !important;
    }

    .trust-badges .badge-item i {
        font-size: 1.5rem !important;
    }
}

/* Outline button styles for additional colors */
.btn-outline-amber {
    color: #FFB400;
    border-color: #FFB400;
}

.btn-outline-amber:hover {
    background-color: #FFB400;
    border-color: #FFB400;
    color: #ffffff;
}

.btn-outline-lime {
    color: #7FB800;
    border-color: #7FB800;
}

.btn-outline-lime:hover {
    background-color: #7FB800;
    border-color: #7FB800;
    color: #ffffff;
}

.btn-outline-sky {
    color: #00A6ED;
    border-color: #00A6ED;
}

.btn-outline-sky:hover {
    background-color: #00A6ED;
    border-color: #00A6ED;
    color: #ffffff;
}
