/* ===================================
    eLearning - Elearning
====================================== */

/* Dashboard Enhancements */
.dashboard-hero {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.circle-icon-xl {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring {
    transform: rotate(-90deg);
}

.box-shadow-medium {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
}

.border-radius-12px {
    border-radius: 12px !important;
}

.border-radius-10px {
    border-radius: 10px !important;
}

.border-radius-8px {
    border-radius: 8px !important;
}

.border-radius-4px {
    border-radius: 4px !important;
}

/* Course Card Hover Effects */
.course-card {
    transition: all 0.3s ease;
}

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

/* Responsive Improvements */
@media (max-width: 768px) {
    .dashboard-hero h1 {
        font-size: 2.5rem !important;
    }
    
    .dashboard-hero .fs-32 {
        font-size: 24px !important;
    }
    
    .dashboard-hero .gap-4 {
        gap: 1rem !important;
    }
    
    .padding-40px-all {
        padding: 25px !important;
    }
    
    .padding-60px-all {
        padding: 40px 25px !important;
    }
}

@media (max-width: 576px) {
    .dashboard-hero h1 {
        font-size: 2rem !important;
    }
    
    .dashboard-hero p {
        font-size: 16px !important;
    }
    
    .circle-icon-xl {
        width: 60px;
        height: 60px;
    }
    
    .fs-32 {
        font-size: 20px !important;
    }
}
/* font */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;500;600;700;800;900&display=swap');
/* variable */
:root {     
    --base-color: #d5d52b; 
    --dark-gray: #313e3b;
    --medium-gray: #828c8a;
    --yellow: #d5d52c;
    --extra-medium-gray: #e4e4e4;
    --alt-font: 'Space Grotesk', sans-serif;
    --primary-font: 'Inter', sans-serif;
}
/* reset */
body {
    font-size: 17px;
    line-height: 30px;
    overflow-x: hidden;
}
a:hover { 
    color: var(--dark-gray); 
}
.top-25 {
    top: 25%;
}
.mt-minus-12 {
    margin-top: -12%;
}
.mt-minus-1 {
    margin-top: -1%;
}
.left-minus-200px {
    left: -200px;
}
.mt-minus-4 {
    margin-top: -4px;
}
.bottom-minus-320px {
    bottom: -320px;
}
.terms-condition .box:before {
    border-color: #e4e4e4;
    background-color: var(--white);
    top: 1px;
}
.terms-condition .box:after {
    top: 5px;
}
/* border color */
.border-color-transparent-white-very-light {
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.border-color-transparent-dark-very-light {
    border-color: var(--extra-medium-gray) !important;
}
/* bg gradient color */
.bg-gradient-deep-zuccini-green {
    background-image: linear-gradient(to right bottom, #19493e, #164339, #143e34, #113830, #0f332b);
}
.bg-gradient-aztec-green {
    background-image: linear-gradient(to right bottom, #313e3b, #2e3b38, #2c3835, #293532, #27322f);
}
.bg-gradient-tranquil-white { 
    background-image: linear-gradient(to bottom, #ffffff, #f7f9f9, #f3f6f6, #eff3f3, #ecf1f1);
}
.bg-yellow {
    background-color: var(--yellow);
}
.bg-tranquil {
    background-color: #f3f8f8;
}
.bg-gradient-dark-transparent {
    background: -webkit-gradient(linear, left bottom, left top, color-stop(7%, #36332e), to(transparent));
    background: linear-gradient(to top, #262a29 0%, transparent 100%);
}
/* header */
.navbar .navbar-nav .nav-link {
    font-size: 18px;
}
header .navbar-brand img {
    max-height: 39px;
}
header .navbar-brand {
    padding: 25px 0;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
    width: 335px;
    padding: 25px 35px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a {
    padding: 15px 30px 21px 0;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a p {
    font-size: 14px;
    line-height: normal;
        font-weight: 400;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a span {
    font-size: 17px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a i {
    color: var(--dark-gray);
    font-size: 34px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li.active > a {
    opacity: 0.7;
}
/* icon */
.icon-extra-medium {
    font-size: 22px;
}
.video-icon-large .video-icon {
    width: 70px;
    height: 70px;
    font-size: 18px;
}
.video-icon-large .video-icon .video-icon-sonar .video-icon-sonar-bfr {
    width: 120px;
    height: 120px;
}
.video-icon-large .video-icon .video-icon-sonar .video-icon-sonar-afr {
    width: 90px;
    height: 90px;
}
.medium-icon li, .small-icon li {
    margin: 0 3px;
}
/* review  */
.review-star-icon i {
    letter-spacing: 1px;
}
/* btn */
.btn {
    font-family: var(--primary-font);
    text-transform: none;
    letter-spacing: 0;
}
.btn.btn-switch-text.btn-extra-large > span {
    padding: 15px 38px;
    font-size: 17px; 
}
.btn.btn-switch-text.btn-large > span {
    padding: 13px 32px;
    font-size:15px;
}
.btn.btn-switch-text.btn-medium > span {
    padding: 12px 30px;
    font-size:14px;
}
.btn.btn-base-color { 
    color: var(--dark-gray); 
}
.btn.btn-base-color:hover, .btn.btn-box-shadow.btn-base-color:hover {
    background-color:  var(--base-color);
    color: var(--dark-gray);
}
.btn.btn-link {
    padding: 0 0 2px;
}
/* heading */
h2 {
    line-height: 3.2rem;
}
/* tab */
.tab-style-04 .nav-tabs .nav-item {
    padding: 0;
    width: 25%;
}
.tab-style-04 .nav-tabs .nav-item .nav-link {
    color: var(--medium-gray);
}
.tab-style-04 .nav-tabs .nav-item .nav-link .tab-border {
    height: 3px;
}
.tab-style-04 .nav-tabs .nav-item .nav-link.active {
    font-weight: 600;
    border: 0;
   outline: 0;
}
.tab-style-04 .nav-tabs .nav-item .nav-link:focus-visible {
    outline: none;
    box-shadow: none;
}
/* accordion */
.accordion-style-04 .accordion-item .accordion-body {
    padding: 0 35px 25px;
}
.accordion-style-04 .accordion-item .accordion-collapse {
    margin-top: -1px;
}
/* progress bar */
.progress-bar-style-02 .progress {
    height: 10px;
}
/* page title */
.page-title-extra-small h2 {
    font-size: 3.75rem;
    line-height: 3.75rem;
}
.page-title-extra-small h1 {
    font-size: 20px;
}
/* pages */
.contact-form-style-03 > div { 
    border-radius: 6px 0 6px 0;
}
/* newsletter style 02 */
.newsletter-style-02 input { 
    padding-right: 100px !important;
}
/* footer */
footer {
    padding-bottom: 30px;
}
footer .footer-logo img {
    max-height: 39px;
}
.footer-dark,
.footer-dark .newsletter-style-02 input,
.footer-dark p, .footer-dark a {
    color: var(--medium-gray);
}
.footer-dark a:hover {
    color: var(--base-color);
}
.footer-dark .newsletter-style-02 input::placeholder {
    color: var(--medium-gray) !important;
    opacity: 1; /* Firefox */
}
.footer-dark .newsletter-style-02 input:-ms-input-placeholder {
    color: var(--medium-gray) !important;
}
.footer-dark .newsletter-style-02 input::-ms-input-placeholder {
    color: var(--medium-gray)  !important;
}
.footer-dark .elements-social .light li a:hover {
    color: var(--white);
    opacity: .5;
}
.footer-dark .small-icon li {
    margin: 0 7px;
}
.footer-navbar li {
    line-height: normal;
}
footer ul li {
    margin-bottom: 2px;
}
/* media query responsive */
@media (max-width: 1399px) {
    .accordion-style-06 .accordion-item {
        padding-left: 35px;
    }
}
@media (max-width: 1199px) {
    .navbar .navbar-nav .nav-link {
        font-size: 16px;
    }
    .navbar .navbar-nav .nav-link {
        padding-left: 12px;
        padding-right: 12px;
    }
    .team-style-05 .social-icon a {
        margin: 0 10px;
    }
}
@media (max-width: 991px) {
    .widget-text {
        color: var(--dark-gray);
    }
    .navbar .navbar-nav .nav-link {
        font-size: 18px;
    }
    .team-style-05 .social-icon a {
        margin: 0 10px;
    }
    .navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
        padding: 0 15px 6px 15px;
    }
}
@media (max-width: 767px) {
    .accordion-style-05 .accordion-item {
        padding: 20px 35px 22px 55px;
    }
    .contact-form-style-03 > div {
        border-radius: 6px;
    }
    .tab-style-04 .nav-tabs .nav-item:last-child {
        margin-bottom: 0;
    }
    .accordion-style-04 .accordion-item .accordion-body {
        padding: 0 25px 25px;
    }
    .tab-style-04 .nav-tabs .nav-item {
        width: auto;
    }
}
@media (max-width: 575px) {
    .accordion-style-06 .accordion-item {
        padding-left: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .accordion-style-06 .accordion-item.active-accordion {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .accordion-style-05 .accordion-item {
        padding: 17px 20px 17px 45px;
    }
    .accordion-style-05 .accordion-item .accordion-body {
        padding-right: 15px;
    }
    .accordion .accordion-item .accordion-header .accordion-title {
    	line-height: 28px;
	}
}

/*------ Slider Section -------*/

.nn-slider.container-fluid {
	padding-left: 45px !important;
	padding-right: 45px !important;
}

.nn-courses.container-fluid {
	padding-left: 45px !important;
	padding-right: 45px !important;
}

.nn-intro-courses.container-fluid {
	padding-left: 45px !important;
	padding-right: 45px !important;
}

/* Learning Mode Section Styles */
#learning-mode {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.feature-card {
	transition: all 0.3s ease;
	border: 1px solid rgba(233, 115, 0, 0.1) !important;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
	border-color: rgba(233, 115, 0, 0.3) !important;
}

.feature-icon {
	transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
	transform: scale(1.1);
	background: linear-gradient(135deg, #e97300 0%, #ff8c00 100%) !important;
}

.text-gradient-orange {
	background: linear-gradient(135deg, #e97300 0%, #ff8c00 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.btn-gradient-orange {
	background: linear-gradient(135deg, #e97300 0%, #ff8c00 100%);
	border: none;
	color: white;
	transition: all 0.3s ease;
}

.btn-gradient-orange:hover {
	background: linear-gradient(135deg, #d16600 0%, #e67e00 100%);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(233, 115, 0, 0.3);
	color: white;
}

.bg-gradient-orange {
	background: linear-gradient(135deg, #e97300 0%, #ff8c00 100%);
}

.min-vh-50 {
	min-height: 50vh;
}

@media (max-width: 768px) {
	.feature-card {
		margin-bottom: 1rem;
	}
	
	#learning-mode .container {
		padding-left: 15px;
		padding-right: 15px;
	}
}

/*------ Enhanced Hero Section Styles -------*/

/* Debug: This should make the hero section have a subtle glow if CSS is loading */
section.bg-gradient-dark {
    box-shadow: inset 0 0 20px rgba(233, 115, 0, 0.3) !important;
}

/* Gradient Background */
.bg-gradient-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
}

/* Text Gradient Effect */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #E97300 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Text Opacity Utilities */
.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-white-60 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Backdrop Blur Effect */
.backdrop-blur-sm {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Enhanced Animations */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.animation-bounce {
    animation: bounce 2s infinite;
}

/* Enhanced Button Styles */
.btn-outline-white {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: white;
    color: var(--dark-gray);
    border-color: white;
    transform: translateY(-2px);
}

/* Shadow Enhancements */
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Badge Enhancements */
.badge.bg-base-color.bg-opacity-20 {
    background-color: rgba(233, 115, 0, 0.2) !important;
    border: 1px solid rgba(233, 115, 0, 0.3);
}

/* Progress Bar Enhancements */
.progress {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.progress-bar.bg-base-color {
    background-color: var(--base-color) !important;
    border-radius: 10px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .text-gradient {
        background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .floating-trust-indicators {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .btn-outline-white {
        font-size: 14px;
        padding: 12px 20px;
    }
    
    .badge.bg-base-color.bg-opacity-20 {
        font-size: 10px;
        padding: 6px 12px;
    }
}

/*------ Popular Courses Section Styles -------*/

/* Enhanced course card hover effects */
.course-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(233, 115, 0, 0.1) !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card .card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-card .card-footer {
    margin-top: auto;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(233, 115, 0, 0.2) !important;
    border-color: rgba(233, 115, 0, 0.3) !important;
}

/* Hover text effect for course titles */
.hover-text-orange {
    transition: color 0.3s ease;
}

.hover-text-orange:hover {
    color: #e97300 !important;
}

/* Enhanced button styles for course cards */
.btn-gradient-orange {
    background: linear-gradient(135deg, #e97300 0%, #ff8c00 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gradient-orange:hover {
    background: linear-gradient(135deg, #d16600 0%, #e67e00 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 115, 0, 0.3);
    color: white;
}

.btn-gradient-orange:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-gradient-orange:hover:before {
    left: 100%;
}

/* Popular courses section background enhancements */
.popular-courses-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.popular-courses-bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(233, 115, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 144, 226, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Responsive adjustments for popular courses */
@media (max-width: 991px) {
    .course-card:hover {
        transform: translateY(-4px);
    }
    
    .btn-gradient-orange:hover {
        transform: translateY(-1px);
    }
}

@media (max-width: 767px) {
    .course-card {
        margin-bottom: 1.5rem;
    }
    
    .course-card:hover {
        transform: translateY(-2px);
    }
}

/* Perfect circle icon containers */
.circle-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.circle-icon:hover {
    transform: scale(1.1);
    background-color: rgba(233, 115, 0, 0.1) !important;
}

.circle-icon i {
    transition: color 0.3s ease;
}

.circle-icon:hover i {
    color: #e97300 !important;
}

/* Different sizes for circle icons */
.circle-icon-sm {
    width: 24px;
    height: 24px;
}

.circle-icon-md {
    width: 32px;
    height: 32px;
}

.circle-icon-lg {
    width: 40px;
    height: 40px;
}

.circle-icon-xl {
    width: 50px;
    height: 50px;
}

.circle-icon-xxl {
    width: 60px;
    height: 60px;
}

/* Special styling for primary colored circles */
.circle-icon-primary {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.circle-icon-primary:hover {
    background-color: rgba(233, 115, 0, 0.9) !important;
    transform: scale(1.1);
}

.circle-icon-primary i {
    color: white !important;
}

.circle-icon-primary:hover i {
    color: white !important;
}

/* Ensure all cards have minimum height */
.course-card {
    min-height: 450px;
}

/* Force Bootstrap grid to work properly */
.row.g-4 {
    display: flex !important;
    flex-wrap: wrap !important;
}

.row.g-4 > [class*="col-"] {
    display: flex !important;
    flex-direction: column !important;
}

/* Ensure Bootstrap columns work */
.col-xl-4, .col-lg-4, .col-md-6, .col-sm-12 {
    display: flex !important;
    flex-direction: column !important;
}

@media (max-width: 991px) {
    .course-card {
        min-height: 400px;
    }
}

@media (max-width: 767px) {
    .course-card {
        min-height: 350px;
    }
}

/* Search Form Styling */
.search-form .input-group {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.search-form .form-control {
    border: 2px solid rgba(233, 115, 0, 0.2) !important;
    border-right: none !important;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-form .form-control:focus {
    border-color: rgba(233, 115, 0, 0.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(233, 115, 0, 0.25) !important;
}

.search-form .btn {
    border-left: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-form .btn:hover {
    transform: translateY(-1px);
}

/* Category Filter Buttons */
.gap-2 > * {
    margin: 0.25rem !important;
}

/* Enhanced Empty State */
.py-5 {
    padding: 3rem 0 !important;
}

/* Responsive Search Form */
@media (max-width: 768px) {
    .search-form .input-group {
        flex-direction: column;
    }
    
    .search-form .form-control {
        border-right: 2px solid rgba(233, 115, 0, 0.2) !important;
        border-bottom: none !important;
        margin-bottom: 0;
    }
    
    .search-form .btn {
        border-left: 2px solid rgba(233, 115, 0, 0.2) !important;
        border-top: none !important;
        width: 100%;
    }
}

/* Authentication Pages Styling */
.auth-section {
    min-height: 120vh !important;
    padding: 15vh 0 20vh 0 !important;
}

.auth-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-title {
    font-family: var(--alt-font);
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.auth-subtitle {
    color: var(--medium-gray);
    font-size: 16px;
    margin-bottom: 2rem;
}

.auth-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    border-color: var(--base-color);
    box-shadow: 0 0 0 0.2rem rgba(213, 213, 43, 0.25);
}

.auth-form .form-label {
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.auth-btn {
    padding: 14px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.auth-link {
    color: var(--base-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    color: var(--dark-gray);
    text-decoration: underline;
}

/* Responsive Auth Pages */
@media (max-width: 768px) {
    .auth-section {
        padding: 30px 0 !important;
    }
    
    .auth-card {
        padding: 1.5rem;
        margin: 0 15px;
    }
    
    .auth-title {
        font-size: 24px;
    }
    
    .auth-subtitle {
        font-size: 14px;
    }
}