:root {
    /* ====================================
       PRIMARY COLORS - Trust & Professional
       ==================================== */
    --primary-color: #2563eb;        /* Royal Blue - Main brand color */
  --primary-hover: #1d4ed8;      /* Darker blue for hover states */
    --primary-light: #3b82f6;        /* Lighter blue for backgrounds */
  --primary-lighter: #60a5fa;      /* Even lighter for subtle highlights */
    
 /* ====================================
       SECONDARY COLORS - Success & Value
   ==================================== */
    --secondary-color: #10b981;      /* Emerald Green - Value & Success */
    --secondary-hover: #059669;      /* Darker green for hover */
    --secondary-light: #34d399;      /* Lighter green */
    --secondary-lighter: #6ee7b7; /* Very light green for backgrounds */
    
    /* ====================================
       ACCENT COLORS - Action & Energy
       ==================================== */
 --accent-color: #f59e0b;         /* Amber - CTA & Highlights */
    --accent-hover: #d97706;         /* Darker amber for hover */
    --accent-light: #fbbf24;         /* Lighter amber */
    --accent-lighter: #fcd34d;     /* Very light amber */
    
    /* ====================================
       PREMIUM COLORS - Quality & Exclusive
       ==================================== */
    --premium-color: #8b5cf6;        /* Purple - Premium courses */
    --premium-hover: #7c3aed;        /* Darker purple */
    --premium-light: #a78bfa;  /* Lighter purple */
    --premium-lighter: #c4b5fd;  /* Very light purple */
    
    /* ====================================
       STATUS COLORS
       ==================================== */
    --success-color: #10b981;        /* Green - Success states */
    --warning-color: #f59e0b;        /* Amber - Warnings */
    --danger-color: #ef4444;         /* Red - Errors & Urgent */
    --info-color: #3b82f6;     /* Blue - Information */
    
    /* ====================================
       TEXT COLORS
       ==================================== */
    --text-dark: #1f2937;   /* Gray-800 - Primary text */
    --text-medium: #4b5563; /* Gray-600 - Secondary text */
  --text-light: #6b7280;/* Gray-500 - Tertiary text */
    --text-muted: #9ca3af;           /* Gray-400 - Muted text */
    --text-white: #ffffff;    /* White text */
    
    /* ====================================
    BACKGROUND COLORS
       ==================================== */
    --bg-white: #ffffff;   /* Pure white */
    --bg-light: #f9fafb;             /* Gray-50 - Light backgrounds */
    --bg-lighter: #f3f4f6;   /* Gray-100 - Even lighter */
    --bg-dark: #111827;        /* Gray-900 - Dark backgrounds */
    
    /* ====================================
       BORDER & DIVIDER COLORS
     ==================================== */
    --border-color: #e5e7eb;         /* Gray-200 - Default borders */
    --border-light: #f3f4f6;         /* Gray-100 - Light borders */
    --border-dark: #d1d5db;  /* Gray-300 - Darker borders */
 
    /* ====================================
   SPECIAL PURPOSE COLORS
   ==================================== */
    --discount-badge: #ef4444;       /* Red - Discount badges */
    --free-badge: #10b981;         /* Green - Free badges */
    --new-badge: #3b82f6;    /* Blue - New badges */
    --hot-badge: #f59e0b;            /* Orange - Hot/Trending badges */
    
    /* ====================================
       DESIGN TOKENS
       ==================================== */
    --border-radius: 8px;    /* Default border radius */
    --border-radius-sm: 4px;         /* Small border radius */
    --border-radius-lg: 12px;        /* Large border radius */
    --border-radius-xl: 16px;        /* Extra large border radius */
    
    --transition-speed: 0.3s;        /* Default transition speed */
    --transition-fast: 0.15s;        /* Fast transitions */
    --transition-slow: 0.5s;         /* Slow transitions */
    
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --box-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* ====================================
 NAVIGATION & SEARCH
   ==================================== */

/* ====================================
   TOP BANNER NOTIFICATION STYLES
   ==================================== */

/* Top Banner Alert */
.top-banner-alert {
	display: block;
	text-align: center;
	font-weight: 600;
	font-size: 14px;
	transition: all var(--transition-speed);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.top-banner-alert::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;
}

.top-banner-alert:hover::before {
	left: 100%;
}

.top-banner-alert:hover {
	filter: brightness(0.95);
	text-decoration: none;
}

.top-banner-alert .banner-content {
	display: inline-block;
	padding: 0 0.5rem;
	font-weight: 600;
}

.top-banner-alert i {
	transition: transform var(--transition-fast);
}

.top-banner-alert:hover i.bi-arrow-right {
	transform: translateX(5px);
}

.top-banner-alert:hover i.bi-megaphone-fill {
	animation: shakeIcon 0.5s ease;
}

@keyframes shakeIcon {
	0%, 100% { transform: rotate(0deg); }
	25% { transform: rotate(-10deg); }
	75% { transform: rotate(10deg); }
}

/* Responsive adjustments */
@media (max-width: 767px) {
	.top-banner-alert {
		font-size: 12px;
		padding: 8px 0;
	}
	
	.top-banner-alert .banner-content {
		display: block;
		padding: 0 1rem;
	}
}

/* Navigation and Dropdown styling */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
}

.navbar .nav-link {
    font-weight: 500;
    transition: all var(--transition-speed);
    padding: 0.5rem 1rem;
    color: var(--text-dark);
}

.navbar .nav-link:hover {
    color: var(--primary-color);
}

.navbar .nav-link i {
    transition: transform var(--transition-fast);
}

.navbar .nav-link:hover i {
transform: scale(1.1);
}

.navbar .navbar-brand {
    padding: 0;
    transition: transform var(--transition-speed);
}

.navbar .navbar-brand:hover {
transform: scale(1.05);
}

.navbar .dropdown:hover > .dropdown-menu {
    display: block;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    margin-top: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
    border: 1px solid var(--border-light);
  padding: 0.5rem 0;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
 transform: translateY(-10px);
    }
to {
    opacity: 1;
  transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.625rem 1.25rem;
    transition: all var(--transition-fast);
    color: var(--text-dark);
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.dropdown-item i {
  opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.dropdown-item:hover i {
    opacity: 1;
}

/* Dropdown Toggle Arrow */
.dropdown-toggle::after {
    margin-left: 0.5em;
    vertical-align: middle;
    transition: transform var(--transition-fast);
}

.dropdown-toggle:hover::after,
.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Animation for dropdown on larger screens */
@media (min-width: 992px) {
    .dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
      transition: all 0.3s ease;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    opacity: 1;
        visibility: visible;
 transform: translateY(0);
    }
}

/* Navigation active states */
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
    position: relative;
}

.navbar-nav .nav-link.active::after {
 content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Style for active dropdown parent */
.navbar-nav .dropdown-toggle.active {
    color: var(--primary-color) !important;
}

/* ====================================
   SEARCH BOX - NAVBAR
   ==================================== */

/* Search Form Container */
.search-form-navbar {
    width: 100%;
    max-width: 300px;
}

@media (max-width: 991px) {
    .search-form-navbar {
        max-width: 100%;
        margin-top: 1rem;
    }
}

/* Search Input Group */
.search-form-navbar .input-group {
    box-shadow: var(--box-shadow-sm);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all var(--transition-speed);
}

.search-form-navbar .input-group:hover,
.search-form-navbar .input-group:focus-within {
    box-shadow: var(--box-shadow-md);
}

/* Search Input */
.search-input-navbar {
    border: 2px solid var(--border-light);
    border-right: none;
    padding: 0.625rem 1rem;
 font-size: 0.95rem;
    transition: all var(--transition-speed);
    background-color: var(--bg-white);
}

.search-input-navbar:focus {
    border-color: var(--primary-color);
 background-color: var(--bg-white);
    box-shadow: none;
    outline: none;
}

.search-input-navbar::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

/* Search Button */
.search-button-navbar {
    border: 2px solid var(--primary-color);
    border-left: none;
    background: var(--primary-color);
    color: white;
    padding: 0.625rem 1.25rem;
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button-navbar:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: scale(1.05);
}

.search-button-navbar:active {
transform: scale(0.95);
}

.search-button-navbar i {
    font-size: 1.1rem;
}

/* Legacy Search Box (for backward compatibility) */
.search-box {
    position: relative;
max-width: 300px;
}

.search-input {
  padding: 0.625rem 3rem 0.625rem 1rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-light);
    transition: all var(--transition-speed);
    font-size: 0.95rem;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  outline: none;
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 1rem;
}

/* Section Styling */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    width: 60px;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* Course Cards - Enhanced with new colors */
.course-card {
    border: none;
    border-radius: var(--border-radius-lg);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    margin-bottom: 1.5rem;
    height: 100%;
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    border: 1px solid var(--border-light);
}

.course-card:hover {
 transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
  border-color: var(--primary-light);
}

.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.course-card .card-body {
    padding: 1.25rem;
}

.course-card .course-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    height: 3rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.course-card .course-provider {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.course-card .course-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
}

.course-card .course-original-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.course-card .discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
    color: white;
    padding: 0.25rem 0.5rem;
font-size: 0.8rem;
  font-weight: 700;
 border-radius: var(--border-radius-sm);
    box-shadow: var(--box-shadow-sm);
}

/* New Badge Styles */
.badge-premium {
    background: linear-gradient(135deg, var(--premium-color), var(--premium-hover));
    color: white;
}

.badge-free {
 background: linear-gradient(135deg, var(--success-color), var(--secondary-hover));
    color: white;
}

.badge-new {
    background: linear-gradient(135deg, var(--info-color), var(--primary-hover));
    color: white;
}

.badge-hot {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  color: white;
}

/* Markdown content styling */
.content {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
}

.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #212529;
}

.content h1 {
    font-size: 2rem;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0.3rem;
}

.content h2 {
    font-size: 1.75rem;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0.3rem;
}

.content h3 {
    font-size: 1.5rem;
}

.content h4 {
    font-size: 1.25rem;
}

.content p {
    margin-bottom: 1rem;
}

.content ul, .content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 5px;
}

.content a {
    color: #007bff;
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

.content blockquote {
    border-left: 4px solid #dfe2e5;
    margin-left: 0;
    padding-left: 1rem;
    color: #6c757d;
}

.content pre, .content code {
    background-color: #f8f9fa;
    border-radius: 3px;
    padding: 0.2rem 0.4rem;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.content pre {
    padding: 1rem;
    overflow: auto;
    margin-bottom: 1rem;
}

.content table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.content table th, .content table td {
    padding: 0.5rem;
    border: 1px solid #dee2e6;
}
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

    .dropdown-item:hover, .dropdown-item:focus {
        background-color: #f8f9fa;
        color: #007bff;
    }

/* Add a subtle arrow indicator for dropdown menus */
.dropdown-toggle::after {
    margin-left: 0.5em;
    vertical-align: middle;
}

/* Animation for dropdown */
@media (min-width: 576px) {
    .dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Navigation active states */
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Style for active dropdown parent */
.navbar-nav .dropdown-toggle.active {
    color: var(--primary-color) !important;
}

/* Top Bar */
.top-bar {
    font-size: 0.85rem;
}

.top-bar .social-links a {
    transition: all var(--transition-speed);
}

.top-bar .social-links a:hover {
    opacity: 0.8;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, 
        #eff6ff 0%,      /* Blue-50 */
        #dbeafe 50%,     /* Blue-100 */
        #e0f2fe 100%     /* Sky-100 */
    );
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    right: -5%;
    top: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-banner::after {
    content: '';
    position: absolute;
    left: -5%;
    bottom: -5%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-banner h1 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--premium-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-banner .lead {
    color: #475569;
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.hero-banner .btn {
    padding: 0.75rem 2rem;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-banner .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
}

.hero-stats {
    padding: 1rem 0;
}

/* ====================================
   COURSE PLATFORMS - ENHANCED STYLING
   ==================================== */

/* Container for all platform logos */
.course-platforms {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Individual platform logo containers */
.platform-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.1),
        0 4px 10px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-speed);
    pointer-events: auto;
    cursor: pointer;
    border: 3px solid rgba(37, 99, 235, 0.1);
    animation: floatAnimation 3s ease-in-out infinite;
}

/* Different animation delays for each logo */
.platform-logo:nth-child(1) {
    animation-delay: 0s;
}

.platform-logo:nth-child(2) {
    animation-delay: 0.5s;
}

.platform-logo:nth-child(3) {
    animation-delay: 1s;
}

/* Floating animation keyframes */
@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-12px) rotate(1deg);
    }
}

/* Hover effects for platform logos */
.platform-logo:hover {
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    box-shadow: 
        0 20px 40px rgba(37, 99, 235, 0.2),
        0 10px 20px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
    animation-play-state: paused;
}

/* Platform logo images */
.platform-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all var(--transition-speed);
    filter: grayscale(0.2);
}

.platform-logo:hover img {
    filter: grayscale(0);
    transform: scale(1.1);
}

/* Glow effect on hover */
.platform-logo::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        var(--primary-color), 
        var(--secondary-color),
        var(--accent-color)
    );
    opacity: 0;
    transition: opacity var(--transition-speed);
    z-index: -1;
    filter: blur(10px);
}

.platform-logo:hover::before {
    opacity: 0.5;
}

/* Pulse effect for attention */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 
            0 10px 25px rgba(0, 0, 0, 0.1),
            0 4px 10px rgba(0, 0, 0, 0.06);
    }
    50% {
        box-shadow: 
            0 10px 30px rgba(37, 99, 235, 0.3),
            0 4px 15px rgba(37, 99, 235, 0.2);
    }
}

/* Apply pulse to random logos */
.platform-logo:nth-child(2) {
    animation: floatAnimation 3s ease-in-out infinite, 
               pulseGlow 2s ease-in-out infinite;
    animation-delay: 0.5s, 1s;
}

/* Responsive adjustments for platform logos */
@media (max-width: 1199px) {
    .platform-logo {
        width: 70px;
        height: 70px;
    }
    
    .platform-logo img {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 991px) {
    .platform-logo {
        width: 60px;
        height: 60px;
    }
    
    .platform-logo img {
        width: 38px;
        height: 38px;
    }
}

/* Alternative: Grid layout for platforms (if needed) */
.course-platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.course-platforms-grid .platform-logo {
    position: relative;
    margin: 0 auto;
}

/* ====================================
   RIPPLE EFFECT FOR PLATFORM LOGOS
   ==================================== */

.platform-logo {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.4);
    transform: scale(0);
    animation: rippleAnimation 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleAnimation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ====================================
   HERO BANNER RESPONSIVE ADJUSTMENTS
   ==================================== */

@media (max-width: 991px) {
    .hero-banner {
        padding: 3rem 0;
    }
    
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    .hero-banner .lead {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-stats > div {
        flex: 1 1 calc(33.333% - 1rem);
        min-width: 100px;
    }
}

@media (max-width: 767px) {
    .hero-banner {
        padding: 2rem 0;
    }
    
    .hero-banner h1 {
        font-size: 1.75rem;
    }
    
    .hero-stats > div {
        flex: 1 1 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .hero-banner .btn {
        width: 100%;
        margin-bottom: 0.75rem;
    }
}

/* ====================================
   PLATFORM LOGOS - ADDITIONAL STYLES
   ==================================== */

/* Add a subtle shine effect */
.platform-logo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.platform-logo:hover::after {
    left: 100%;
    opacity: 1;
}

/* Platform logo text label (optional) */
.platform-logo-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: all var(--transition-speed);
    pointer-events: none;
}

.platform-logo:hover .platform-logo-label {
    opacity: 1;
    bottom: -30px;
}

/* Connecting lines between logos (decorative) */
.course-platforms.with-connections::before {
    content: '';
    position: absolute;
    top: 12%;
    left: 8%;
    right: 18%;
    bottom: 18%;
    background-image: 
        linear-gradient(135deg, transparent 45%, rgba(37, 99, 235, 0.1) 45%, rgba(37, 99, 235, 0.1) 55%, transparent 55%),
        linear-gradient(45deg, transparent 45%, rgba(37, 99, 235, 0.1) 45%, rgba(37, 99, 235, 0.1) 55%, transparent 55%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0.3;
}

/* Stagger animation on page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.platform-logo {
    animation: fadeInUp 0.6s ease-out backwards;
}

.platform-logo:nth-child(1) { animation-delay: 0.1s; }
.platform-logo:nth-child(2) { animation-delay: 0.2s; }
.platform-logo:nth-child(3) { animation-delay: 0.3s; }
.platform-logo:nth-child(4) { animation-delay: 0.4s; }
.platform-logo:nth-child(5) { animation-delay: 0.5s; }
.platform-logo {
    transition: all 0.3s;
}

    .platform-logo:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

/* Breadcrumbs */
.page-header {
    background-color: var(--bg-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #1e293b;
    color: var(--text-light);
}

    footer h5, footer h6 {
        color: var(--accent-color) !important;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    footer a:hover {
        color: var(--accent-color) !important;
    }

    footer .btn-outline-light:hover,
    footer .btn-outline-primary:hover,
    footer .btn-outline-danger:hover,
    footer .btn-outline-success:hover {
        background-color: var(--accent-color);
        border-color: var(--accent-color);
    }

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-speed);
}

    .back-to-top:hover {
        background-color: var(--secondary-color);
        transform: translateY(-5px);
    }

/* Course Comparison Panel */
.comparison-trigger {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow);
    z-index: 999;
}

    .comparison-trigger .badge {
        position: absolute;
        top: -5px;
        right: -5px;
        font-size: 0.7rem;
        opacity: 0;
        transition: all 0.3s;
    }

        .comparison-trigger .badge.badge-has-items {
            opacity: 1;
        }

.comparison-panel {
    position: fixed;
    right: -350px;
    top: 0;
    width: 350px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.comparison-panel-open {
    right: 0;
}

.comparison-header {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comparison-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.comparison-footer {
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
}

.comparison-course-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-course-image {
    width: 60px;
    height: 45px;
    object-fit: cover;
}

.comparison-course-title {
    font-size: 0.9rem;
    line-height: 1.3;
    max-height: 2.6rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.comparison-course-price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.comparison-empty {
    color: #94a3b8;
}

/* Platform Cards */
.platform-card {
    display: block;
    text-decoration: none;
    transition: all var(--transition-speed);
}

    .platform-card:hover {
        transform: translateY(-5px);
    }

    .platform-card .card {
        height: 120px;
        transition: all var(--transition-speed);
        border-radius: var(--border-radius);
        overflow: hidden;
    }

    .platform-card:hover .card {
        box-shadow: var(--box-shadow-lg) !important;
        border-color: var(--primary-light);
    }

.platform-logo {
    max-width: 80%;
    max-height: 60px;
    transition: all var(--transition-speed);
}

.platform-card:hover .platform-logo {
    transform: scale(1.05);
}

/* Blog Post Cards */
.blog-post-card {
    border: none;
    border-radius: var(--border-radius);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    height: 100%;
    overflow: hidden;
}

    .blog-post-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--box-shadow);
    }

    .blog-post-card .card-img-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .blog-post-card .card-title {
        color: white;
        font-weight: 600;
        line-height: 1.4;
    }

    .blog-post-card .post-category {
        position: absolute;
        top: 15px;
        left: 15px;
        background-color: var(--primary-color);
        color: white;
        padding: 0.25rem 0.75rem;
        font-size: 0.8rem;
        font-weight: 500;
        border-radius: 3px;
    }

/* Testimonials */
.testimonials-section {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

    .testimonials-section::before {
        content: '';
        position: absolute;
        left: 5%;
        top: 20%;
        width: 80px;
        height: 80px;
        background-color: rgba(37, 99, 235, 0.1);
        border-radius: 50%;
        z-index: 1;
    }

    .testimonials-section::after {
        content: '';
        position: absolute;
        right: 10%;
        bottom: 15%;
        width: 120px;
        height: 120px;
        background-color: rgba(245, 158, 11, 0.1);
        border-radius: 50%;
        z-index: 1;
    }

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 2;
}

.testimonial-avatar img {
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.2);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    color: #475569;
    position: relative;
}

    .testimonial-quote::before,
    .testimonial-quote::after {
        content: '"';
        font-size: 2rem;
        color: var(--primary-color);
        opacity: 0.3;
        position: absolute;
        font-family: Georgia, serif;
    }

    .testimonial-quote::before {
        left: -15px;
        top: -15px;
    }

    .testimonial-quote::after {
        right: -15px;
        bottom: -30px;
    }

.testimonial-nav-icon {
    background-color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

    .testimonials::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/images/pattern.svg');
        background-size: cover;
        opacity: 0.03;
        pointer-events: none;
    }

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--box-shadow);
    margin: 1rem 0.5rem;
}

.testimonial-avatar img {
    border: 5px solid rgba(37, 99, 235, 0.1);
    object-fit: cover;
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    position: relative;
    padding: 0 1.5rem;
}

    .testimonial-quote::before {
        content: "\201C";
        font-size: 3rem;
        font-family: Georgia, serif;
        color: var(--primary-color);
        opacity: 0.3;
        position: absolute;
        left: -0.5rem;
        top: -1rem;
    }

    .testimonial-quote::after {
        content: "\201D";
        font-size: 3rem;
        font-family: Georgia, serif;
        color: var(--primary-color);
        opacity: 0.3;
        position: absolute;
        right: -0.5rem;
        bottom: -2rem;
    }

.testimonial-nav-icon {
    background-color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Call to Action Section */
.cta-section {
    position: relative;
}

.cta-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 50%, var(--premium-color) 100% );
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow-xl);
    border-radius: var(--border-radius-xl);
}

    .cta-content::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-image: url('/images/cta-pattern.svg');
        background-size: cover;
        opacity: 0.1;
        pointer-events: none;
    }

    .cta-content .btn {
        transition: all var(--transition-speed);
        font-weight: 500;
    }

        .cta-content .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }