/* ============================================
   Easy Agile Learning - Custom Styles
   Inspired by EduHubSpot Design
   ============================================ */

:root {
    --primary-color: #1e2850;
    --accent-light: #dfcda4;
    --accent-dark: #99805c;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #1e2850;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gradient-start: #4a148c;
    --gradient-end: #1e2850;
    --stat-blue: #1e2850;
    --stat-green: #28a745;
}

/* Typography System */
:root {
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Global Styles */
body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: #2c3e50;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1, .h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}

h2, .h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

h3, .h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

h4, .h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

h5, .h5 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
}

h6, .h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

/* Display Headings */
.display-1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.display-2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.display-3 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.display-5 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.display-6 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.35;
}

/* Paragraphs */
p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.75;
    color: #4a5568;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    color: #fff;
}

/* Text Sizes */
.text-small {
    font-size: 0.875rem;
    line-height: 1.6;
}

.text-large {
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Font Weights */
.fw-light {
    font-weight: 300;
}

.fw-normal {
    font-weight: 400;
}

.fw-medium {
    font-weight: 500;
}

.fw-semibold {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

.fw-extrabold {
    font-weight: 800;
}

/* Alert Banners */
.alert-banner {
    border-radius: 0;
    margin-bottom: 0;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.alert-banner .btn-close {
    padding: 0.5rem 0.5rem;
}

/* Header Styles */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #1e2850;
}

.navbar {
    background-color: #1e2850 !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.brand-text {
    color: #ffffff;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-nav .nav-link:hover {
    color: #dfcda4 !important;
}

.navbar-nav .nav-link.active {
    color: var(--accent-light) !important;
}

.navbar-nav .nav-link i {
    color: inherit;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link.btn-primary {
    background-color: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
    color: #ffffff !important;
}

.navbar-nav .nav-link.btn-primary:hover {
    background-color: var(--accent-light) !important;
    border-color: var(--accent-light) !important;
    color: #ffffff !important;
}

/* Dropdown Menu Styling */
.navbar-nav .dropdown-menu {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-nav .dropdown-item {
    color: #212529;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.navbar-nav .dropdown-item i {
    color: var(--primary-color);
}

.navbar-nav .dropdown-divider {
    border-color: #e9ecef;
}

/* Hero Section */
.hero-section {
    /* background: var(--primary-color); */
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3a6b 50%, var(--primary-color) 100%);
    min-height: 85vh;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-section .carousel {
    min-height: 85vh;
    position: relative;
    z-index: 2;
}

.hero-section .carousel-inner {
    min-height: 85vh;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-section .carousel-item {
    min-height: 85vh;
    width: 100%;
    
    display: none;
    float: left;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}

.hero-section .carousel-item.active,
.hero-section .carousel-item-next,
.hero-section .carousel-item-prev {
    display: flex;
    align-items: center;
}

.hero-section .carousel-item.active {
    z-index: 1;
}

.hero-section .carousel-item .container {
    
    width: 100%;
}

/* Hero Section Text Styling */
.hero-section .text-white,
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section .display-1,
.hero-section .display-2,
.hero-section .display-3,
.hero-section .display-4,
.hero-section .display-5 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    color: #f0f0f0 !important;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    color: #e8e8e8 !important;
    font-size: 1.0625rem;
    line-height: 1.8;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-section strong {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-section .highlight-box-hero {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-section .btn-light {
    background: #ffffff;
    color: var(--primary-color) !important;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-section .btn-light:hover {
    background: var(--accent-light);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-section .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: #ffffff !important;
    background: transparent;
    font-weight: 600;
}

.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-accent-dark {
    background-color: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.btn-accent-dark:hover,
.btn-accent-dark:focus,
.btn-accent-dark:active {
    background-color: var(--accent-light) !important;
    border-color: var(--accent-light) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scrum-master-text {
    color: var(--accent-light) !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(30, 40, 80, 0.85); */

    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3a6b 50%, var(--primary-color) 100%);
    z-index: 1;
    opacity:0.85;
}

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

.hero-section-small {
    background: var(--primary-color);
    padding: 3rem 0;
}

.hero-image-placeholder,
.learn-image-placeholder {
    opacity: 0.3;
}

/* Hero Slide Images */
.hero-image-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 100%;
    z-index: 1;
    padding-right: 2rem;
}

.hero-slide-image {
    position: absolute;
    bottom: 0;
    right: 2rem;
    width: auto;
    height: 95vh;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom right;
    z-index: 1;
}

/* Large screens: apply min-width for better desktop display */
@media (min-width: 1200px) {
    .hero-slide-image {
        min-width: 700px;
        max-width: calc(60% - 2rem);
    }
}

/* Medium-large screens: reduce min-width */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-slide-image {
        min-width: 500px;
        max-width: calc(65% - 2rem);
    }
}

/* Hero Carousel Styles */
.hero-section .carousel-indicators {
    bottom: 30px;
    z-index: 10;
}

.hero-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.hero-section .carousel-indicators button.active {
    background-color: white;
    width: 30px;
    border-radius: 6px;
}

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

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

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

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.highlight-box-hero {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

/* Statistics Section */
.statistics-section {
    background: #f8f9fa;
}

/* Statistics Boxes - Modern Redesign */
.stat-box-modern {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stat-box-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-box-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.stat-box-modern:hover::before {
    transform: scaleX(1);
}

.stat-icon-wrapper {
    margin-bottom: 1.5rem;
}

.stat-icon-bg {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s ease;
    position: relative;
}

.stat-box-primary .stat-icon-bg {
    background: linear-gradient(135deg, rgba(30, 40, 80, 0.1) 0%, rgba(30, 40, 80, 0.15) 100%);
}

.stat-box-secondary .stat-icon-bg {
    background: linear-gradient(135deg, rgba(153, 128, 92, 0.1) 0%, rgba(153, 128, 92, 0.15) 100%);
}

.stat-box-accent .stat-icon-bg {
    background: linear-gradient(135deg, rgba(223, 205, 164, 0.2) 0%, rgba(223, 205, 164, 0.3) 100%);
}

.stat-box-modern:hover .stat-icon-bg {
    transform: scale(1.1) rotate(5deg);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.stat-box-primary .stat-icon {
    color: var(--primary-color);
}

.stat-box-secondary .stat-icon {
    color: var(--accent-dark);
}

.stat-box-accent .stat-icon {
    color: var(--primary-color);
}

.stat-box-modern:hover .stat-icon {
    transform: scale(1.1);
}

.stat-content {
    width: 100%;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.stat-box-modern:hover .stat-number {
    transform: scale(1.05);
}

.stat-label {
    margin: 0;
    color: #4a5568;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
}

.transparent-coffee-bg{

    background: rgb(153 128 92 / 57%) !important;
}

.stat-box-modern:hover .stat-label {
    color: var(--primary-color);
}

/* Legacy support for old classes */
.stat-box {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.stat-box-blue,
.stat-box-green {
    border: none;
}

/* Welcome Message Section */
.welcome-message-section {
    background: white;
}

.welcome-message-content {
    line-height: 1.8;
}

.welcome-message-content h2 {
    color: var(--primary-color);
    line-height: 1.3;
}

.welcome-message-content .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #4a5568;
    font-weight: 500;
}

.welcome-message-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.welcome-message-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

.welcome-image-wrapper {
    text-align: center;
    padding: 1rem;
}

.welcome-image {
    /* width: 100%; */
    height: auto;
    border-radius: 15px;
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
    width: 400px;
}

.welcome-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Program Cards */
.program-card {
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.program-icon {
    color: var(--accent-dark);
    margin-bottom: 1rem;
}

/* Welcome Section */
.welcome-section {
    background: #f8f9fa;
}

.welcome-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-color);
}

.welcome-content {
    line-height: 1.8;
    font-size: 1.0625rem;
    color: #4a5568;
}

.welcome-content p {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.welcome-content .lead {
    font-size: 1.25rem;
    line-height: 1.7;
    font-weight: 500;
}

.highlight-box {
    background: var(--primary-color);
    border-radius: 10px;
    color: white;
    box-shadow: 0 5px 15px rgba(30, 40, 80, 0.3);
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

/* Enhanced Program Cards */
.program-card-enhanced {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.program-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.program-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.program-card-enhanced:hover::before {
    transform: scaleX(1);
}

.program-icon-wrapper {
    position: relative;
}

.program-icon-bg {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(30, 40, 80, 0.3);
    transition: transform 0.3s ease;
}

.program-card-enhanced:hover .program-icon-bg {
    transform: scale(1.1) rotate(5deg);
}

/* Program Images */
.program-image-wrapper {
    position: relative;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
}

.program-card-enhanced:hover .program-image {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* CTA Form Section */
.cta-form-section {
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-features {
    margin-top: 2rem;
}

.cta-feature-item {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.cta-feature-item i {
    color: var(--accent-light);
    font-size: 1.2rem;
}

.form-card {
    background: white;
    border-radius: 15px;
    position: relative;
    z-index: 1;
}

.form-card .form-control-lg {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-card .form-control-lg:focus {
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 0.2rem rgba(223, 205, 164, 0.15);
}

/* CTA Section Image */
.cta-image-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-section-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
}

.cta-section-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* Enhanced Step Cards */
.steps-section {
    background: #f8f9fa;
}

.step-card-enhanced {
    background: white;
    border-radius: 15px;
    padding: 3rem 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.step-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(153, 128, 92, 0.3);
}

.step-icon-wrapper {
    position: relative;
    margin-top: 1rem;
}

.step-icon-bg {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(30, 40, 80, 0.3);
    transition: transform 0.3s ease;
}

.step-card-enhanced:hover .step-icon-bg {
    transform: scale(1.1) rotate(-5deg);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.social-link {
    transition: all 0.3s ease;
    display: inline-block;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 20px rgba(30, 40, 80, 0.3);
    background: var(--primary-color);
    color: white !important;
}

.social-link:hover i {
    color: white !important;
}

/* Gain Cards */
.gain-card {
    padding: 2rem;
}

.gain-icon {
    color: white;
}

/* Course Cards */
.course-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
}

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

.course-meta .badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
}

/* Contact Cards */
.contact-card,
.contact-info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover,
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1) !important;
}

.contact-icon {
    color: var(--primary-color);
}

/* Mission Cards */
.mission-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15) !important;
}

.mission-icon {
    color: var(--accent-dark);
}

/* Story Box */
.story-box {
    border-left: 4px solid var(--primary-color);
}

/* Course Detail Page Styles */

/* Course Hero Section */
/* Course Hero Section - Enhanced */
.course-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3a6b 50%, #1e2850 100%);
    padding: 3rem 0 0;
    position: relative;
}

.course-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(223, 205, 164, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(223, 205, 164, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0.6;
    pointer-events: none;
}

.course-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(30, 40, 80, 0.3) 0%, rgba(30, 40, 80, 0.6) 100%);
    pointer-events: none;
}

.course-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(223, 205, 164, 0.05) 50%, transparent 100%);
    pointer-events: none;
}


/* Course Hero Content */
.course-hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.course-hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.course-hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--accent-light) !important;
}

.course-hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    max-width: 90%;
}

/* Enhanced Breadcrumb */
.course-breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.course-breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
}

.course-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: rgba(255, 255, 255, 0.5);
    padding: 0 0.75rem;
    font-size: 0.875rem;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9375rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.breadcrumb-link:hover {
    color: var(--accent-light) !important;
    transform: translateX(2px);
}

.breadcrumb-link i {
    font-size: 0.875rem;
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    font-size: 0.9375rem;
}

/* Course Hero Wave */
.course-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}

.course-hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.85);
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Schedule Card Items - 2 Column Layout */
.schedule-card-item {
    display: flex;
    align-items: center;
    padding: 2rem 1.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e9ecef;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.schedule-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.schedule-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30, 40, 80, 0.15);
    background: white;
    border-color: var(--primary-color);
}

.schedule-card-item:hover::before {
    transform: scaleX(1);
}

.schedule-card-item:hover .schedule-icon-wrapper {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(30, 40, 80, 0.25);
}

.schedule-icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(30, 40, 80, 0.2);
}

.schedule-icon-wrapper i {
    color: white;
    font-size: 1.5rem;
}

.schedule-content {
    flex: 1;
    min-width: 0;
}

.schedule-label {
    font-size: 0.8125rem;
    color: #6c757d;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.75rem;
    display: block;
    font-family: var(--font-heading);
}

.schedule-value {
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.5;
    word-wrap: break-word;
    font-family: var(--font-heading);
}

/* Features & Benefits Content */
.features-content,
.benefits-content {
    line-height: 1.8;
    font-size: 1.0625rem;
    color: #4a5568;
}

.features-content h1,
.features-content h2,
.features-content h3,
.features-content h4,
.benefits-content h1,
.benefits-content h2,
.benefits-content h3,
.benefits-content h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.features-content h1:first-child,
.benefits-content h1:first-child {
    margin-top: 0;
}

.features-content p,
.benefits-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

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

.features-content li,
.benefits-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.features-content strong,
.benefits-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.features-content a,
.benefits-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-light);
    transition: all 0.3s ease;
}

.features-content a:hover,
.benefits-content a:hover {
    color: var(--accent-dark);
    border-bottom-color: var(--accent-dark);
}

.features-content img,
.benefits-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.features-content blockquote,
.benefits-content blockquote {
    border-left: 4px solid var(--accent-light);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6c757d;
}

.features-list,
.benefits-list {
    margin: 0;
    padding: 0;
}

.features-list li,
.benefits-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.features-list li:last-child,
.benefits-list li:last-child {
    border-bottom: none;
}

/* Course Content */
.course-content {
    line-height: 1.8;
    font-size: 1.0625rem;
    color: #4a5568;
}

.course-content h1,
.course-content h2,
.course-content h3,
.course-content h4,
.course-content h5,
.course-content h6 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.course-content h1:first-child,
.course-content h2:first-child,
.course-content h3:first-child {
    margin-top: 0;
}

.course-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

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

.course-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.course-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.course-content blockquote {
    border-left: 4px solid var(--accent-light);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6c757d;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.course-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
}

.course-content table th,
.course-content table td {
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    text-align: left;
}

.course-content table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.course-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--primary-color);
}

.course-content pre {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.course-content pre code {
    background: none;
    padding: 0;
}

/* Sidebar Enhancements */
.course-sidebar-card {
    border-top: 4px solid var(--primary-color);
    z-index: 999;
    top: 90px;
}

.course-sidebar-card.sticky-top {
    position: sticky;
    top: 90px;
    z-index: 999;
}

.enrollment-icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.enrollment-icon-wrapper i {
    color: white;
    font-size: 1.75rem;
}

.course-highlights {
    margin: 0;
    padding: 0;
}

.course-highlights li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.course-highlights li:last-child {
    border-bottom: none;
}

.contact-info-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contact-info-item a {
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--primary-color);
}

/* Community Access Section */
.community-access-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3a6b 50%, var(--primary-color) 100%);
    position: relative;
    border-top: 4px solid var(--accent-light);
    overflow: hidden;
}

.community-access-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
    pointer-events: none;
}

.community-access-header {
    position: relative;
    z-index: 1;
}

.community-icon-wrapper {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.community-icon-wrapper i {
    color: var(--accent-light);
    font-size: 2rem;
}

.community-access-header h2 {
    font-size: 1.75rem;
    line-height: 1.3;
}

.community-access-header .lead {
    font-size: 1.125rem;
    line-height: 1.7;
}

.community-access-footer {
    position: relative;
    z-index: 1;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Community Benefits List */
.community-benefits {
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.community-benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.community-benefit-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.community-benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-icon-wrapper {
    width: 32px;
    height: 32px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(223, 205, 164, 0.3);
    transition: all 0.3s ease;
}

.community-benefit-item:hover .benefit-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(223, 205, 164, 0.5);
}

.benefit-icon-wrapper i {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
}

.benefit-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.0625rem;
    line-height: 1.6;
    flex: 1;
    font-weight: 500;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.85);
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--stat-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: white;
}

.phone-btn {
    background: var(--stat-green);
}

.chat-btn {
    background: var(--primary-color);
}

/* Buttons */
.btn {
    border-radius: 5px;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 0.875rem 2.25rem;
    font-size: 1.0625rem;
    font-weight: 600;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #6c757d;
}

/* Forms */
.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 0.2rem rgba(223, 205, 164, 0.25);
}

/* Footer */
.main-footer {
    margin-top: auto;
    background: var(--primary-color);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.main-footer .container {
    position: relative;
    z-index: 1;
}

.main-footer h5,
.main-footer h6 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

.main-footer h5 {
    font-size: 1.5rem;
}

.main-footer h6 {
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-light);
    border-bottom: 2px solid var(--accent-light);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.main-footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.main-footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.main-footer a {
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.main-footer a:hover {
    color: var(--accent-light) !important;
    transform: translateX(5px);
}

.main-footer ul {
    margin-bottom: 0;
}

.main-footer ul li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.main-footer ul li i {
    color: var(--accent-light);
    width: 20px;
    text-align: center;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    opacity: 1;
    margin: 2.5rem 0 1.5rem 0;
    border-width: 1px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
}

.footer-credit {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
}

.footer-credit-link {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-credit-link:hover {
    color: var(--accent-light) !important;
    text-decoration: underline;
}

.main-footer .row {
    margin-bottom: 1rem;
}

.logo-img-footer {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    
}

/* Responsive Design */
/* Tablet breakpoint */
@media (max-width: 992px) {
    .hero-image-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        padding-right: 0;
        margin-top: 2rem;
    }

    .hero-slide-image {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-width: 0;
        object-fit: contain;
        object-position: center;
    }
}

@media (max-width: 768px) {
    /* Navigation Responsive */
    .navbar-nav {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 1rem;
    }

    .navbar-nav .nav-link.btn-primary {
        margin-top: 0.5rem;
        margin-left: 0 !important;
        width: 100%;
        text-align: center;
    }

    .navbar-nav .dropdown-menu {
        margin-top: 0.5rem;
        border-radius: 0.5rem;
    }

    .navbar-nav .dropdown-item {
        padding: 0.75rem 1.25rem;
    }

    /* Hero section height - JavaScript will override this on mobile */
    /* Fallback: 70vh if JavaScript is disabled */
    .hero-section {
        min-height: 70vh;
    }

    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        min-height: 70vh;
    }

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

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

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

    .hero-section .display-4 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem !important;
    }

    .hero-image-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        padding-right: 0;
        margin-top: 2rem;
        min-height: 250px;
    }

    .hero-slide-image {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-width: 0;
        object-fit: contain;
        object-position: center;
    }

    .stat-box-modern,
    .stat-box {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .stat-icon-bg {
        width: 70px;
        height: 70px;
        border-radius: 15px;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .floating-actions {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .display-3 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 1.75rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .logo-img {
        height: 60px;
        max-width: 100%;
    }

    /* Course Detail Page Responsive */
    .course-hero-section {
        padding: 4rem 0 0;
        min-height: 50vh;
    }

    .course-hero-title {
        font-size: 2.25rem;
    }

    .course-hero-subtitle {
        font-size: 1.25rem;
    }

    .course-hero-description {
        font-size: 1.125rem;
        max-width: 100%;
    }

    .course-breadcrumb {
        padding: 0.625rem 1rem;
        margin-bottom: 1.5rem;
    }

    .breadcrumb-link,
    .breadcrumb-current {
        font-size: 0.875rem;
    }

    .course-hero-wave {
        height: 80px;
    }

    /* Sidebar Sticky Positioning Responsive */
    .course-sidebar-card.sticky-top {
        top: 80px;
    }

    /* Schedule Section Responsive - 2 Column */
    .schedule-card-item {
        padding: 1.5rem 1.25rem;
        margin-bottom: 1rem;
    }

    .schedule-icon-wrapper {
        width: 56px;
        height: 56px;
        margin-right: 1.25rem;
    }

    .schedule-icon-wrapper i {
        font-size: 1.35rem;
    }

    .schedule-label {
        font-size: 0.75rem;
        margin-bottom: 0.625rem;
    }

    .schedule-value {
        font-size: 1.0625rem;
    }

    /* Community Access Section Responsive */
    .community-access-card .card-body {
        padding: 1.5rem;
    }

    .community-icon-wrapper {
        width: 64px;
        height: 64px;
    }

    .community-icon-wrapper i {
        font-size: 1.75rem;
    }

    .community-access-header h2 {
        font-size: 1.5rem;
    }

    .community-access-header .lead {
        font-size: 1rem;
    }

    .community-benefit-item {
        padding: 1rem 1.25rem;
    }

    .benefit-icon-wrapper {
        width: 28px;
        height: 28px;
        margin-right: 1rem;
    }

    .benefit-icon-wrapper i {
        font-size: 0.9rem;
    }

    .benefit-text {
        font-size: 1rem;
    }

    .enrollment-icon-wrapper {
        width: 56px;
        height: 56px;
    }

    .enrollment-icon-wrapper i {
        font-size: 1.5rem;
    }

    /* Homepage CTA Form Section Responsive */
    .cta-form-section {
        padding: 3rem 0;
    }

    .cta-form-section .cta-content {
        margin-bottom: 0;
    }

    .cta-form-section .cta-content h2 {
        font-size: 2rem;
    }

    .cta-form-section .cta-content .lead {
        font-size: 1.125rem;
    }

    .cta-feature-item {
        font-size: 1rem;
    }

    /* Remove spacing from cta-features on mobile */
    .cta-form-section .cta-features {
        margin-top: 0;
        margin-bottom: 0;
    }

    .cta-form-section .cta-feature-item:last-child {
        margin-bottom: 0 !important;
    }

    .cta-image-wrapper {
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
        line-height: 0;
    }

    .cta-image-wrapper img {
        margin: 0;
        padding: 0;
        display: block;
    }

    /* Make image touch top of form on mobile */
    .cta-form-section .row {
        align-items: flex-start;
        margin: 0;
    }

    .cta-form-section .container {
        padding-top: 0;
        padding-bottom: 0;
    }

    .cta-form-section .col-lg-5 {
        margin-bottom: 0 !important;
        padding-bottom: 0;
        padding-top: 0;
    }

    .cta-form-section .col-lg-7 {
        padding-top: 0;
        padding-bottom: 0;
    }

    .form-card {
        margin-top: 0;
    }

    .form-card .card-body {
        padding-top: 1rem;
    }

    /* Homepage Steps Section Responsive */
    .step-card-enhanced {
        padding: 2rem 1.5rem;
    }

    .step-icon-wrapper {
        margin-bottom: 1.5rem;
    }

    .step-card-enhanced h3 {
        font-size: 1.25rem;
    }

    /* Homepage Programs Section Responsive */
    .program-card-enhanced {
        padding: 2rem 1.5rem;
    }

    .program-image-wrapper {
        margin-bottom: 1.5rem;
    }

    /* Contact Cards Grid Responsive */
    .contact-card {
        margin-bottom: 1.5rem;
    }

    .contact-icon i {
        font-size: 2.5rem !important;
    }

    /* Social Links Responsive */
    .social-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .social-link {
        margin: 0 !important;
    }
}

@media (max-width: 576px) {
    /* Hero section height - JavaScript will override this on small mobile */
    /* Fallback: 65vh if JavaScript is disabled */
    .hero-section {
        min-height: 65vh;
    }

    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        min-height: 65vh;
    }

    .stat-box-modern,
    .stat-box {
        padding: 1.5rem 1.25rem;
        border-radius: 15px;
    }

    .stat-icon-bg {
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }

    .stat-icon {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9375rem;
    }

    .program-image {
        max-width: 120px;
    }

    .main-footer {
        padding: 2.5rem 0 !important;
    }

    .main-footer h5 {
        font-size: 1.125rem;
    }

    .main-footer h6 {
        font-size: 0.9375rem;
    }

    .main-footer p,
    .main-footer a {
        font-size: 0.875rem;
    }

    .logo-img-footer {
        height: 45px;
        max-width: 150px;
    }

    .footer-divider {
        margin: 2rem 0 1rem 0;
    }

    .footer-copyright,
    .footer-credit {
        font-size: 0.8125rem;
    }

    .footer-credit {
        margin-top: 0.75rem;
    }

    .welcome-message-content h2 {
        font-size: 2rem;
    }

    .welcome-message-content .lead {
        font-size: 1.125rem;
    }

    .welcome-message-content p {
        font-size: 1rem;
    }

    .welcome-image-wrapper {
        margin-top: 2rem;
    }

    .welcome-image {
        max-width: 100%;
    }

    .cta-image-wrapper {
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
    }

    .cta-image-wrapper img {
        margin: 0;
        padding: 0;
        display: block;
    }

    .cta-section-image {
        max-width: 100%;
    }

    /* Remove spacing from cta-features on small mobile */
    .cta-form-section .cta-features {
        margin-top: 0;
        margin-bottom: 0;
    }

    .cta-form-section .cta-feature-item:last-child {
        margin-bottom: 0 !important;
    }

    /* Make image touch top of form on small mobile */
    .cta-form-section .row {
        align-items: flex-start;
    }

    .cta-form-section .col-lg-5 {
        margin-bottom: 0 !important;
        padding-bottom: 0;
    }

    .cta-form-section .col-lg-7 {
        padding-top: 0;
    }

    .form-card {
        margin-top: 0;
    }

    .hero-section .display-4 {
        font-size: 1.75rem;
    }

    .hero-section .lead {
        font-size: 1rem !important;
    }

    .hero-section .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

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

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

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

    .hero-image-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        padding-right: 0;
        margin-top: 1.5rem;
        min-height: 200px;
    }

    .hero-slide-image {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-width: 0;
        object-fit: contain;
        object-position: center;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .card-body {
        padding: 1.5rem;
    }

 

    .welcome-card {
        padding: 2rem 1.5rem !important;
    }

    .welcome-content {
        font-size: 1rem;
    }

    .program-card-enhanced {
        padding: 2rem 1.5rem;
    }

    .program-icon-bg,
    .step-icon-bg {
        width: 80px;
        height: 80px;
    }

    .program-icon-bg i,
    .step-icon-bg i {
        font-size: 2rem !important;
    }

    .program-image {
        max-width: 150px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: -12px;
        right: 15px;
    }

    .cta-content h2 {
        font-size: 2rem !important;
    }

    .form-card .card-body {
        padding: 2rem 1.5rem !important;
    }

    .section-header h2 {
        font-size: 2rem !important;
    }

    .main-footer {
        padding: 3rem 0 !important;
    }

    .main-footer h5 {
        font-size: 1.25rem;
    }

    .main-footer h6 {
        font-size: 1rem;
    }

    .main-footer p,
    .main-footer a {
        font-size: 0.9375rem;
    }

    .logo-img-footer {
        height: 50px;
        max-width: 180px;
    }

    .footer-copyright,
    .footer-credit {
        font-size: 0.875rem;
    }

    .footer-credit {
        margin-top: 0.5rem;
    }

    /* Schedule Section Mobile - 2 Column */
    .schedule-card-item {
        padding: 1.25rem 1rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .schedule-icon-wrapper {
        width: 52px;
        height: 52px;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .schedule-icon-wrapper i {
        font-size: 1.25rem;
    }

    .schedule-content {
        width: 100%;
    }

    .schedule-label {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }

    .schedule-value {
        font-size: 1rem;
    }

    /* Community Access Section Mobile */
    .community-access-card .card-body {
        padding: 1.25rem;
    }

    .community-icon-wrapper {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }

    .community-icon-wrapper i {
        font-size: 1.5rem;
    }

    .community-access-header h2 {
        font-size: 1.25rem;
    }

    .community-access-header .lead {
        font-size: 0.95rem;
    }

    .community-benefit-item {
        padding: 0.875rem 1rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .benefit-icon-wrapper {
        width: 40px;
        height: 40px;
        margin-right: 0;
        margin-bottom: 0.75rem;
    }

    .benefit-icon-wrapper i {
        font-size: 1.1rem;
    }

    .benefit-text {
        font-size: 0.95rem;
        text-align: center;
    }

    /* Course Hero Section Mobile */
    .course-hero-section {
        padding: 3rem 0 0;
        min-height: 45vh;
    }

    .course-hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .course-hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .course-hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .course-breadcrumb {
        padding: 0.5rem 0.875rem;
        margin-bottom: 1.25rem;
        flex-wrap: wrap;
    }

    .breadcrumb-link,
    .breadcrumb-current {
        font-size: 0.8125rem;
    }

    .course-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 0.5rem;
        font-size: 0.75rem;
    }

    .course-hero-wave {
        height: 60px;
    }

    /* Sidebar Sticky Positioning Mobile */
    .course-sidebar-card.sticky-top {
        top: 70px;
        position: relative;
    }

    /* Navigation Mobile Enhancements */
    .navbar-nav .nav-link.btn-primary {
        width: 100%;
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }

    .navbar-nav .dropdown-menu {
        width: 100%;
        margin-top: 0.5rem;
    }

    /* Homepage CTA Form Mobile */
    .cta-form-section .cta-content h2 {
        font-size: 1.75rem !important;
    }

    .cta-form-section .cta-content .lead {
        font-size: 1rem !important;
    }

    .cta-feature-item {
        font-size: 0.9375rem;
    }

    /* Remove spacing from cta-features on small mobile */
    .cta-form-section .cta-features {
        margin-top: 0;
        margin-bottom: 0;
    }

    .cta-form-section .cta-feature-item:last-child {
        margin-bottom: 0 !important;
    }

    .cta-image-wrapper {
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
        line-height: 0;
    }

    .cta-image-wrapper img {
        max-width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        display: block;
    }

    /* Make image touch top of form on small mobile */
    .cta-form-section .row {
        align-items: flex-start;
        margin: 0;
    }

    .cta-form-section .container {
        padding-top: 0;
        padding-bottom: 0;
    }

    .cta-form-section .col-lg-5 {
        margin-bottom: 0 !important;
        padding-bottom: 0;
        padding-top: 0;
    }

    .cta-form-section .col-lg-7 {
        padding-top: 0;
        padding-bottom: 0;
    }

    .form-card {
        margin-top: 0;
    }

    .form-card .card-body {
        padding-top: 1rem;
    }

    /* Homepage Steps Mobile */
    .step-card-enhanced {
        padding: 1.5rem 1.25rem;
    }

    .step-icon-wrapper {
        margin-bottom: 1rem;
    }

    .step-card-enhanced h3 {
        font-size: 1.125rem;
    }

    .step-card-enhanced p {
        font-size: 0.9375rem;
    }

    /* Homepage Programs Mobile */
    .program-card-enhanced {
        padding: 1.5rem 1.25rem;
    }

    .program-image {
        max-width: 120px;
    }

    /* Contact Cards Mobile */
    .contact-card {
        padding: 1.5rem !important;
    }

    .contact-icon i {
        font-size: 2rem !important;
    }

    .contact-card h4 {
        font-size: 1rem;
    }

    .contact-card p {
        font-size: 0.875rem;
    }

    /* Social Links Mobile */
    .social-links {
        gap: 0.75rem;
    }

    .social-link i {
        font-size: 1.5rem !important;
    }
}

/* Lists */
ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    font-size: 1rem;
    color: #4a5568;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: var(--accent-dark);
}

/* Badges */
.badge {
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.01em;
    padding: 0.5rem 0.75rem;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

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

/* Bootstrap Overrides for Blue Colors */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
}

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

.badge.bg-info {
    background-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================
   Courses Page Styles
   ============================================ */

/* Courses Hero Section */
.courses-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3a6b 50%, var(--primary-color) 100%);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.courses-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(223, 205, 164, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(223, 205, 164, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0.6;
    pointer-events: none;
}

.courses-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(30, 40, 80, 0.3) 0%, rgba(30, 40, 80, 0.6) 100%);
    pointer-events: none;
}

.courses-hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.courses-hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    color: #ffffff !important;
}

.courses-hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--accent-light) !important;
    font-weight: 600;
}

.courses-hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    margin: 0 auto;
}

.courses-breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.courses-breadcrumb .breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
}

.courses-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: rgba(255, 255, 255, 0.5);
    padding: 0 0.75rem;
    font-size: 0.875rem;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9375rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.breadcrumb-link:hover {
    color: var(--accent-light) !important;
    transform: translateX(2px);
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    font-size: 0.9375rem;
}

.courses-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}

.courses-hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Course Filter Section */
.course-filter-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.course-search-wrapper {
    position: relative;
}

.course-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    z-index: 2;
}

.course-search-input {
    padding-left: 3rem;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #ffffff;
    font-size: 1rem;
    height: 50px;
    transition: all 0.3s ease;
}

.course-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.course-search-input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-light);
    box-shadow: 0 0 0 0.2rem rgba(223, 205, 164, 0.25);
    color: #ffffff;
    outline: none;
}

.btn-filter {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-filter:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-filter.active {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(223, 205, 164, 0.3);
}

.btn-clear-filters {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-clear-filters:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.filter-results {
    font-size: 1rem;
}

/* Enhanced Course Cards */
.courses-listing-section {
    background: #f8f9fa;
}

.course-card-enhanced {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.course-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.course-card-enhanced:hover::before {
    transform: scaleX(1);
}

.course-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3a6b 100%);
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card-enhanced:hover .course-image {
    transform: scale(1.1);
}

.course-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 40, 80, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.course-card-enhanced:hover .course-image-overlay {
    opacity: 1;
}

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

.course-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.course-card-title a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.course-card-title a:hover {
    color: var(--accent-dark);
}

.course-card-subtitle {
    font-size: 1rem;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.course-card-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #6c757d;
    margin-bottom: 1.5rem;
    flex: 1;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.course-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.875rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.course-badge-primary {
    background: rgba(30, 40, 80, 0.1);
    color: var(--primary-color);
}

.course-badge-info {
    background: rgba(30, 40, 80, 0.1);
    color: var(--primary-color);
}

.course-badge-success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.course-card-btn {
    margin-top: auto;
    border-radius: 50px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.course-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 40, 80, 0.3);
}

/* Course Item Hidden State */
.course-item.hidden {
    display: none !important;
}

/* No Results Message */
.no-results-content {
    padding: 3rem 2rem;
}

.no-results-content i {
    opacity: 0.5;
}

/* Empty State Section */
.empty-state-section {
    padding: 5rem 2rem;
}

.empty-state-content {
    max-width: 600px;
    margin: 0 auto;
}

.empty-state-icon {
    animation: fadeInUp 0.8s ease-out;
}

.empty-state-content h2 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.empty-state-content p {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.empty-state-content .btn {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Courses CTA Section */
.courses-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3a6b 50%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

.courses-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.courses-cta-section .cta-content h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.courses-cta-section .cta-content .lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

.courses-cta-section .cta-feature-item {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.0625rem;
}

.courses-cta-section .cta-feature-item i {
    color: var(--accent-light);
}

/* Responsive Design for Courses Page */
@media (max-width: 768px) {
    .courses-hero-section {
        padding: 3rem 0 4rem;
        overflow: visible;
    }

    .courses-hero-title {
        font-size: 2.25rem;
    }

    .courses-hero-subtitle {
        font-size: 1.25rem;
    }

    .courses-hero-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .courses-hero-content {
        margin-bottom: 1.5rem !important;
    }

    .courses-breadcrumb {
        padding: 0.625rem 1rem;
        margin-bottom: 1.5rem;
    }

    .course-filter-section {
        padding: 1.5rem;
    }

    .course-search-wrapper {
        margin-bottom: 1rem;
    }

    .course-search-input {
        height: 45px;
        font-size: 0.9375rem;
        padding-left: 2.5rem;
    }

    .course-filter-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .btn-filter {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        flex: 0 0 auto;
    }

    .filter-results {
        text-align: center;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .btn-clear-filters {
        width: 100%;
        justify-content: center;
    }

    .course-image-wrapper {
        height: 180px;
    }

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

    .course-card-title {
        font-size: 1.25rem;
    }

    .course-card-description {
        font-size: 0.9375rem;
    }

    .course-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .course-badge {
        font-size: 0.8125rem;
        padding: 0.375rem 0.75rem;
    }

    .courses-cta-section {
        padding: 3rem 0;
    }

    .courses-cta-section .cta-content h2 {
        font-size: 2rem !important;
    }

    .courses-cta-section .cta-content .lead {
        font-size: 1.125rem;
    }

    .courses-cta-section .cta-features {
        margin-bottom: 2rem;
    }

    .courses-cta-section .cta-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .courses-cta-section .cta-actions .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .courses-hero-section {
        padding: 2.5rem 0 3.5rem;
        overflow: visible;
    }

    .courses-hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .courses-hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .courses-hero-description {
        font-size: 0.9375rem;
    }

    .courses-hero-content {
        margin-bottom: 1rem !important;
    }

    .courses-breadcrumb {
        padding: 0.5rem 0.875rem;
        margin-bottom: 1.25rem;
        flex-wrap: wrap;
    }

    .breadcrumb-link,
    .breadcrumb-current {
        font-size: 0.8125rem;
    }

    .course-filter-section {
        padding: 1.25rem;
    }

    .course-search-wrapper {
        margin-bottom: 1rem;
    }

    .course-filter-buttons {
        justify-content: center;
    }

    .btn-filter {
        padding: 0.4375rem 0.875rem;
        font-size: 0.8125rem;
    }

    .filter-results {
        font-size: 0.875rem;
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .btn-clear-filters {
        width: 100%;
        justify-content: center;
    }

    .course-image-wrapper {
        height: 160px;
    }

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

    .course-card-title {
        font-size: 1.125rem;
    }

    .course-card-description {
        font-size: 0.875rem;
    }

    .course-badge {
        font-size: 0.75rem;
        padding: 0.4375rem 0.75rem;
    }

    .empty-state-section {
        padding: 3rem 1.5rem;
    }

    .empty-state-icon i {
        font-size: 3rem !important;
    }

    .empty-state-content h2 {
        font-size: 1.75rem !important;
    }

    .courses-cta-section {
        padding: 3rem 0 !important;
    }

    .courses-cta-section .cta-content h2 {
        font-size: 1.75rem !important;
    }

    .courses-cta-section .cta-content .lead {
        font-size: 1rem !important;
    }

    .courses-hero-wave {
        height: 60px;
    }

    /* Course Cards Mobile Enhancements */
    .course-card-enhanced {
        margin-bottom: 1.5rem;
    }

    .course-card-btn {
        font-size: 0.9375rem;
        padding: 0.625rem 1rem;
    }

    /* Empty State Mobile */
    .empty-state-section {
        padding: 2rem 1rem;
    }

    .empty-state-icon i {
        font-size: 3rem !important;
    }

    .empty-state-content h2 {
        font-size: 1.5rem !important;
    }

    .empty-state-content .lead {
        font-size: 1rem;
    }
}

/* ============================================
   About & Contact Page Styles
   ============================================ */

/* Story Box Enhanced */
.story-box-enhanced {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.story-box-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.story-box-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.story-box-enhanced:hover::before {
    transform: scaleX(1);
}

.story-icon {
    text-align: center;
}

.story-box-enhanced h4 {
    margin-top: 0.5rem;
}

/* Journey Content */
.journey-content {
    line-height: 1.8;
    font-size: 1.0625rem;
    color: #4a5568;
}

.journey-content .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #4a5568;
    font-weight: 500;
}

.journey-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.journey-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Section Header */
.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary-color);
}

.section-header .lead {
    color: #6c757d;
}

/* Responsive Design for About & Contact Pages */
@media (max-width: 768px) {
    /* Contact Page Responsive */
    .form-card {
        margin-top: 0;
    }

    .form-card .card-body {
        padding: 2rem 1.5rem;
    }

    .form-card .form-control-lg {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .contact-card {
        margin-bottom: 1.5rem;
    }

    .contact-icon i {
        font-size: 2.5rem !important;
    }

    /* About Page Responsive */
    .story-box-enhanced {
        padding: 1.5rem !important;
    }

    .story-icon i {
        font-size: 1.75rem !important;
    }

    .journey-content {
        font-size: 1rem;
        line-height: 1.7;
    }

    .journey-content .lead {
        font-size: 1.125rem;
    }

    .journey-content p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .program-card-enhanced {
        padding: 2rem 1.5rem;
    }

    .program-icon-wrapper {
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem !important;
    }

    .section-header .lead {
        font-size: 1.125rem;
    }
}

@media (max-width: 576px) {
    /* Contact Page Mobile */
    .form-card .card-body {
        padding: 1.5rem 1.25rem;
    }

    .form-card .form-label {
        font-size: 0.9375rem;
    }

    .form-card .form-control-lg {
        font-size: 0.9375rem;
        padding: 0.625rem 0.875rem;
    }

    .form-card textarea {
        font-size: 0.9375rem;
    }

    .contact-card {
        padding: 1.5rem !important;
        margin-bottom: 1.25rem;
    }

    .contact-icon i {
        font-size: 2rem !important;
    }

    .contact-card h4 {
        font-size: 1rem;
    }

    .contact-card p {
        font-size: 0.875rem;
    }

    /* About Page Mobile */
    .story-box-enhanced {
        padding: 1.25rem !important;
    }

    .story-icon i {
        font-size: 1.5rem !important;
    }

    .story-box-enhanced h4 {
        font-size: 1.125rem;
    }

    .journey-content {
        font-size: 0.9375rem;
        line-height: 1.7;
    }

    .journey-content .lead {
        font-size: 1rem;
    }

    .journey-content p {
        font-size: 0.9375rem;
        margin-bottom: 1rem;
    }

    .program-card-enhanced {
        padding: 1.5rem 1.25rem;
    }

    .program-icon-wrapper {
        margin-bottom: 1rem;
    }

    .program-icon-bg {
        width: 70px;
        height: 70px;
    }

    .program-icon-bg i {
        font-size: 1.75rem !important;
    }

    .program-card-enhanced h3 {
        font-size: 1.125rem;
    }

    .program-card-enhanced p {
        font-size: 0.9375rem;
    }

    .section-header h2 {
        font-size: 1.75rem !important;
    }

    .section-header .lead {
        font-size: 1rem;
    }
}

/* Responsive Design for Auth Pages */
@media (max-width: 768px) {
    .container.my-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .card.shadow {
        margin: 0 1rem;
    }

    .card-body.p-4 {
        padding: 2rem 1.5rem !important;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .form-label {
        font-size: 0.9375rem;
    }

    .form-control {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .form-text {
        font-size: 0.8125rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container.my-5 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .card.shadow {
        margin: 0 0.75rem;
    }

    .card-body.p-4 {
        padding: 1.5rem 1.25rem !important;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .card-title i {
        font-size: 1.125rem;
    }

    .form-label {
        font-size: 0.875rem;
    }

    .form-control {
        font-size: 0.9375rem;
        padding: 0.625rem 0.875rem;
    }

    .form-text {
        font-size: 0.75rem;
    }

    .btn-lg {
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }

    .card hr {
        margin: 1.5rem 0;
    }

    .card p.text-center {
        font-size: 0.9375rem;
    }
}

/* Responsive Design for Admin Pages */
@media (max-width: 768px) {
    /* Admin Hero Section */
    .hero-section-small {
        padding: 2rem 0 !important;
    }

    .hero-section-small h1 {
        font-size: 1.75rem !important;
    }

    .hero-section-small .lead {
        font-size: 1rem;
    }

    .hero-section-small .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .hero-section-small .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    /* Admin Dashboard */
    .card.shadow-sm {
        margin-bottom: 1.5rem;
    }

    .card-body.text-center h3 {
        font-size: 1.75rem;
    }

    .card-body.text-center i {
        font-size: 2.5rem !important;
    }

    /* Quick Actions */
    .d-flex.gap-3.flex-wrap {
        flex-direction: column;
    }

    .d-flex.gap-3.flex-wrap .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Admin Tables */
    .table-responsive {
        border-radius: 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table {
        font-size: 0.875rem;
        min-width: 800px;
    }

    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }

    .table th {
        font-size: 0.8125rem;
    }

    .btn-group-sm .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.8125rem;
    }

    /* Admin Form */
    .form-label.fw-bold {
        font-size: 0.9375rem;
    }

    .form-control-lg {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .form-select {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .card.bg-light {
        padding: 1.5rem;
    }

    .card.bg-light .card-title {
        font-size: 1.125rem;
    }

    #featuresEditor,
    #benefitsEditor,
    #contentEditor {
        height: 300px;
    }

    .ql-editor {
        min-height: 300px;
        font-size: 14px;
    }

    .d-flex.gap-3.justify-content-between {
        flex-direction: column;
        gap: 1rem !important;
    }

    .d-flex.gap-3.justify-content-between .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    /* Admin Hero Section Mobile */
    .hero-section-small {
        padding: 1.5rem 0 !important;
    }

    .hero-section-small h1 {
        font-size: 1.5rem !important;
    }

    .hero-section-small .lead {
        font-size: 0.9375rem;
    }

    .hero-section-small .btn-lg {
        width: 100%;
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Admin Dashboard Mobile */
    .card-body.text-center h3 {
        font-size: 1.5rem;
    }

    .card-body.text-center i {
        font-size: 2rem !important;
    }

    .card-body.text-center p {
        font-size: 0.875rem;
    }

    /* Admin Tables Mobile */
    .table {
        font-size: 0.8125rem;
        min-width: 700px;
    }

    .table th,
    .table td {
        padding: 0.5rem 0.375rem;
    }

    .table th {
        font-size: 0.75rem;
    }

    .table code {
        font-size: 0.7rem;
    }

    .table .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }

    .btn-group-sm {
        flex-direction: column;
        width: 100%;
    }

    .btn-group-sm .btn {
        width: 100%;
        margin-bottom: 0.25rem;
        border-radius: 0.375rem !important;
    }

    /* Admin Form Mobile */
    .form-label.fw-bold {
        font-size: 0.875rem;
    }

    .form-control-lg {
        font-size: 0.9375rem;
        padding: 0.625rem 0.875rem;
    }

    .form-control {
        font-size: 0.9375rem;
    }

    .form-select {
        font-size: 0.9375rem;
        padding: 0.625rem 0.875rem;
    }

    .form-text {
        font-size: 0.75rem;
    }

    .card.bg-light {
        padding: 1.25rem;
    }

    .card.bg-light .card-title {
        font-size: 1rem;
    }

    .card.bg-light .row.g-3 {
        margin: 0;
    }

    .card.bg-light .col-md-4 {
        margin-bottom: 1rem;
    }

    #featuresEditor,
    #benefitsEditor,
    #contentEditor {
        height: 250px;
    }

    .ql-editor {
        min-height: 250px;
        font-size: 13px;
    }

    .ql-toolbar {
        padding: 0.5rem;
    }

    .ql-toolbar .ql-formats {
        margin-right: 0.5rem;
    }

    .d-flex.gap-3.justify-content-between {
        flex-direction: column;
    }

    .d-flex.gap-3.justify-content-between .btn {
        width: 100%;
    }
}

/* Responsive Design for Error Pages */
@media (max-width: 768px) {
    .container.my-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .fa-5x {
        font-size: 4rem !important;
    }

    .display-1 {
        font-size: 3rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .h3 {
        font-size: 1.5rem;
    }

    .lead {
        font-size: 1.125rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container.my-5 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .fa-5x {
        font-size: 3rem !important;
    }

    .display-1 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 1.75rem;
    }

    .h3 {
        font-size: 1.25rem;
    }

    .lead {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.75rem !important;
    }

    .d-flex.gap-3 .btn {
        width: 100%;
    }
}

/* Footer Responsive Enhancements */
@media (max-width: 768px) {
    .main-footer {
        padding: 3rem 0 !important;
    }

    .main-footer .row > div {
        margin-bottom: 2rem;
    }

    .main-footer .row > div:last-child {
        margin-bottom: 0;
    }

    .main-footer h5 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .main-footer h6 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .main-footer p,
    .main-footer a {
        font-size: 0.9375rem;
    }

    .main-footer ul.list-unstyled li {
        margin-bottom: 0.5rem;
    }

    .footer-divider {
        margin: 2rem 0 1.5rem 0;
    }

    .footer-copyright,
    .footer-credit {
        font-size: 0.875rem;
        text-align: center;
    }

    .footer-credit {
        margin-top: 0.75rem;
    }
}

@media (max-width: 576px) {
    .main-footer {
        padding: 2.5rem 0 !important;
    }

    .main-footer .row > div {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .main-footer .logo-img-footer {
        margin: 0 auto 1rem;
    }

    .main-footer h5 {
        font-size: 1.125rem;
    }

    .main-footer h6 {
        font-size: 0.9375rem;
    }

    .main-footer p,
    .main-footer a {
        font-size: 0.875rem;
    }

    .main-footer ul.list-unstyled {
        text-align: center;
    }

    .main-footer ul.list-unstyled li {
        margin-bottom: 0.5rem;
    }

    .footer-divider {
        margin: 1.5rem 0 1rem 0;
    }

    .footer-copyright,
    .footer-credit {
        font-size: 0.8125rem;
    }
}

/* Global Typography and Spacing Responsive */
@media (max-width: 768px) {
    /* Typography Scaling */
    h1, .h1 {
        font-size: 2rem;
    }

    h2, .h2 {
        font-size: 1.75rem;
    }

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

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

    h5, .h5 {
        font-size: 1.125rem;
    }

    h6, .h6 {
        font-size: 1rem;
    }

    .display-1 {
        font-size: 3.5rem;
    }

    .display-2 {
        font-size: 3rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    /* Spacing Adjustments */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .mb-5 {
        margin-bottom: 3rem !important;
    }

    .mt-5 {
        margin-top: 3rem !important;
    }

    /* Button Groups */
    .btn-group {
        flex-wrap: wrap;
    }

    .btn-group .btn {
        margin-bottom: 0.5rem;
    }

    /* Cards */
    .card {
        margin-bottom: 1.5rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    /* Images */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Floating Action Buttons */
    .floating-actions {
        bottom: 15px;
        right: 15px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 576px) {
    /* Typography Scaling Mobile */
    h1, .h1 {
        font-size: 1.75rem;
    }

    h2, .h2 {
        font-size: 1.5rem;
    }

    h3, .h3 {
        font-size: 1.25rem;
    }

    h4, .h4 {
        font-size: 1.125rem;
    }

    h5, .h5 {
        font-size: 1rem;
    }

    h6, .h6 {
        font-size: 0.9375rem;
    }

    .display-1 {
        font-size: 2.5rem;
    }

    .display-2 {
        font-size: 2.25rem;
    }

    .display-3 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 1.75rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    /* Spacing Adjustments Mobile */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .mb-5 {
        margin-bottom: 2.5rem !important;
    }

    .mt-5 {
        margin-top: 2.5rem !important;
    }

    .mb-4 {
        margin-bottom: 1.5rem !important;
    }

    .mt-4 {
        margin-top: 1.5rem !important;
    }

    /* Button Groups Mobile */
    .btn-group {
        width: 100%;
        flex-direction: column;
    }

    .btn-group .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        border-radius: 0.375rem !important;
    }

    /* Cards Mobile */
    .card {
        margin-bottom: 1.25rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    /* Forms Mobile */
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Floating Action Buttons Mobile */
    .floating-actions {
        bottom: 10px;
        right: 10px;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    /* Badges Mobile */
    .badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.625rem;
    }

    /* Tables - Make scrollable */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
    }

    /* Ensure no horizontal scroll on body */
    body {
        overflow-x: hidden;
    }

    /* Container padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
