@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --brand-maroon: #8A1538;
    --brand-gold: #FDB714;
    --dark-maroon: #5A0E25;
    --primary-blue: var(--brand-maroon);
    --secondary-blue: var(--brand-gold);
    --dark-blue: var(--dark-maroon);
    --light-bg: #fdfaf5;
    --white: #ffffff;
    --text-main: #331a1a;
    --text-muted: #6b4c4c;
    --gradient-brand: linear-gradient(135deg, var(--brand-maroon), #b01c47);
    --gradient-blue: var(--gradient-brand);
    --transition-smooth: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.navbar-brand {
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
}

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

.bg-primary {
    background-color: var(--brand-maroon) !important;
}

/* Navbar styles */

.navbar {
    background: #fff;
    transition: var(--transition-smooth);
    padding: 0;
}

.navbar.scrolled {
    background: #fff;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 0;
}
.text-white-50 {
    --bs-text-opacity: 1;
    color: rgb(255 255 255) !important;
}
.navbar-brand {
    color: var(--primary-blue) !important;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main) !important;
    margin: 0 7px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 20px);
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    background: var(--gradient-brand);
    color: var(--white);
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    color: #fbbf24;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary {
    background: var(--primary-blue);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.hero-image-container {
    padding: 20px;
    position: relative;
}

.hero-image-circle {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    border: 10px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.hero-image-circle:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 991.98px) {
    .hero-image-circle {
        width: 300px;
        height: 300px;
        margin-top: 3rem;
    }
}

@media (max-width: 991.98px) {

    /* Hide the Enroll Now button in the navbar dropdown */
    .navbar-nav .nav-item .btn-primary {
        display: none !important;
    }
}

@media (max-width: 732px) {
    .navbar .container {
        display: block;
    }

    .navbar-brand img {
        max-width: 80%;
    }

    .navbar,
    .navbar.scrolled {
        padding: 4px;
    }

    .nav-link::after {
        display: none;
    }

    .navbar-collapse {
        height: 70vh;
    }
}

/*Fixed Bottom CTA for Mobile*/
.fixed-bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: #8a1538;
    box-shadow: none;
}

@media (min-width: 992px) {
    .fixed-bottom-cta {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 70px;
        /* Space for the fixed total bar */
    }
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
}

.btn-yellow {
    background: #eab308;
    color: var(--dark-blue);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 15px -3px rgba(234, 179, 8, 0.3);
}

.btn-yellow:hover {
    background: #ca8a04;
    color: #1e3a8a;
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(234, 179, 8, 0.4);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    background: transparent;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--brand-maroon);
}

/* Cards */
.card-premium {
    border: none;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    overflow: hidden;
    text-align: center;
}

.card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--brand-maroon);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background: #000000;
    color: var(--white);
    padding: 40px 0 20px;
}
.footer h3{font-size: 24px;}
.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 14px;
}

.footer-link:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

#contactForm {
    text-align: left;
}

/* Sections */
section {
    padding: 50px 0;
}

.bg-light {
    background: linear-gradient(90deg, var(--brand-maroon) 0%, var(--dark-maroon) 100%);
}

.text-withe {
    color: #ffffff;
}

.text-black {
    color: #000;
}

.small,
small {
    font-size: 1em;
}

.fw-semibold {
    font-size: 15px;
}

.text-white-muted {
    font-size: 14px;
    color: #ffffff !important;
    opacity: 0.8;
}

.text-muted {
    font-size: 14px;
    color: #b9b9b9 !important;
}

.section-title {
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-blue);
}

.section-title.center::after {
    left: 50%;
}

.section-title:not(.center)::after {
    left: 0;
    transform: none;
}

/* CTA Section */
.cta-box {
    background: var(--dark-blue);
    border-radius: 40px;
    padding: 70px 50px;
    color: var(--white);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.cta-box h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--dark-maroon);
    border-color: var(--white);
}

/* Animations */
[data-aos] {
    transition-duration: 800ms !important;
}

/* Course Page Utilities */
.bg-purple-subtle {
    background-color: #f5f3ff !important;
}

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

.border-purple-subtle {
    border-color: #ddd6fe !important;
}

.course-card {
    transition: all 0.3s ease;
}

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

.course-icon-bg {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-light-subtle {
    background-color: #f8fafc !important;
}

/* Contact Page Utilities */
.text-muted-dark {
    color: #64748b !important;
    font-size: 0.95rem;
}

/* Breadcrumbs */
.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6) !important;
    content: '\f105' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #ffffff !important;
    opacity: 1;
}

.breadcrumb-item.active {
    color: #ffffff !important;
    font-weight: 600;
}

/* Custom Carousel Smoothness */
#testimonialCarousel .carousel-item {
    transition: transform 1.2s cubic-bezier(0.645, 0.045, 0.355, 1.000) !important;
}

#testimonialCarousel .carousel-inner {
    overflow: visible; /* Allows shadows to show outside the container during transition */
}

/* Testimonials Page */
.testimonial-stats-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.testimonial-stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    transition: var(--transition-smooth);
    text-align: left;
    /* Ensure text is left-aligned in cards */
}

.testimonial-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.quote-icon {
    font-size: 2rem;
    color: #fce7cf;
    margin-bottom: 15px;
}

.star-rating {
    color: #f59e0b;
    margin-bottom: 20px;
}

.reviewer-info {
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    margin-top: 20px;
}

.success-cta {
    background: var(--gradient-brand);
    color: white;
    padding: 80px 0;
    text-align: center;
}