/**
 * Main Stylesheet
 * Lembaga Kursus dan Pelatihan Bina Satria Mandiri
 * Theme: Blue Gradient (Visuals Only - Layout Preserved)
 */

/* ========================================
   GLOBAL STYLES
======================================== */
:root {
    /* Colors from Image */
    --blue-light: #29b6f6;
    /* Cyan/Light Blue */
    --blue-medium: #0288d1;
    /* Medium Blue */
    --blue-dark: #01579b;
    /* Deep Blue */

    /* Backgrounds */
    --bg-gradient: radial-gradient(circle at center, #0288d1 0%, #01579b 100%);

    /* Text */
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.8);

    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-3px);
    color: white;
}

/* Primary - Blue Gradient */
.btn-primary,
.btn-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.3);
    color: white;
}

.btn-primary:hover,
.btn-info:hover {
    box-shadow: 0 12px 25px rgba(0, 242, 254, 0.5);
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
}

/* Success - Green/Teal Gradient */
.btn-success {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 8px 20px rgba(56, 249, 215, 0.3);
    color: white;
}

.btn-success:hover {
    box-shadow: 0 12px 25px rgba(56, 249, 215, 0.5);
}

/* Warning - Sunset Orange */
.btn-warning {
    background: linear-gradient(135deg, #f09819 0%, #edde5d 100%);
    box-shadow: 0 8px 20px rgba(240, 152, 25, 0.3);
    color: white !important;
}

.btn-warning:hover {
    box-shadow: 0 12px 25px rgba(240, 152, 25, 0.5);
    background: linear-gradient(135deg, #edde5d 0%, #f09819 100%);
}

/* Danger - Coral Red */
.btn-danger {
    background: linear-gradient(135deg, #ff512f 0%, #dd2476 100%);
    box-shadow: 0 8px 20px rgba(221, 36, 118, 0.3);
    color: white !important;
}

.btn-danger:hover {
    box-shadow: 0 12px 25px rgba(221, 36, 118, 0.5);
    background: linear-gradient(135deg, #dd2476 0%, #ff512f 100%);
}

/* Outline Buttons */
.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--blue-dark);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* ========================================
   CARDS & SECTIONS
======================================== */
.section-title {
    color: white;
    margin-bottom: 3rem;
}

.section-title span {
    color: var(--blue-light);
}

/* Glassmorphism Cards */
.course-card,
/* .package-card, REMOVED to fix conflicts */
.stat-item,
.instructor-card,
.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: 0.3s;
}

.course-card:hover,
.package-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Text Colors in Cards */
.course-title,
.package-title,
.stat-item h2 {
    color: white;
}

.course-description,
.package-desc,
.stat-item p {
    color: rgba(255, 255, 255, 0.8);
}

.text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: rgba(1, 87, 155, 0.95);
    /* Deep Blue */
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 4rem;
    color: white;
    margin-top: auto;
}

.footer h5,
.footer h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer p,
.footer li {
    color: rgba(255, 255, 255, 0.9);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer a:hover {
    color: var(--blue-light);
    padding-left: 5px;
    text-shadow: 0 0 10px rgba(41, 182, 246, 0.5);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--blue-light);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Running Text */
.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ========================================
   GRADIENT BUTTONS (From Image)
======================================== */
.btn {
    border-radius: 12px;
    /* Slightly rounded as per image */
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-3px);
    color: white;
}

/* Primary - Blue Gradient */
.btn-primary,
.btn-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.3);
    color: white;
}

.btn-primary:hover,
.btn-info:hover {
    box-shadow: 0 12px 25px rgba(0, 242, 254, 0.5);
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
}

/* Success - Green/Teal Gradient */
.btn-success {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 8px 20px rgba(56, 249, 215, 0.3);
    color: white;
}

.btn-success:hover {
    box-shadow: 0 12px 25px rgba(56, 249, 215, 0.5);
}

/* Warning/Action - Purple/Pink Gradient */
.btn-warning,
.btn-danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.3);
    color: white !important;
}

.btn-warning:hover,
.btn-danger:hover {
    box-shadow: 0 12px 25px rgba(245, 87, 108, 0.5);
}

/* Outline Buttons */
.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--blue-dark);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* ========================================
   CARDS & SECTIONS
======================================== */
.section-title {
    color: white;
    margin-bottom: 3rem;
}

.section-title span {
    color: var(--blue-light);
}

/* Glassmorphism Cards */
.course-card,
.package-card,
.stat-item,
.instructor-card,
.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: 0.3s;
}

.course-card:hover,
.package-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Text Colors in Cards */
.course-title,
.package-title,
.stat-item h2 {
    color: white;
}

.course-description,
.package-desc,
.stat-item p {
    color: rgba(255, 255, 255, 0.8);
}

.text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: rgba(1, 87, 155, 0.95);
    /* Deep Blue */
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 4rem;
    color: white;
    margin-top: auto;
}

.footer h5,
.footer h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer p,
.footer li {
    color: rgba(255, 255, 255, 0.9);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer a:hover {
    color: var(--blue-light);
    padding-left: 5px;
    text-shadow: 0 0 10px rgba(41, 182, 246, 0.5);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--blue-light);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Running Text */
.running-text-container {
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.running-text-icon {
    background: var(--blue-light);
    color: var(--blue-dark);
}

.running-text-content {
    background: transparent;
    color: white;
}

/* ========================================
   INFOGRAPHIC ELEMENTS (From Image)
======================================== */
.info-card {
    background: white;
    border-radius: 50px;
    /* Pill shape */
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateX(10px);
}

.info-content {
    flex: 1;
    padding-right: 15px;
    text-align: left;
}

.info-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    /* Dark text on white card */
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-desc {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    line-height: 1.2;
}

.info-number-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Gradients from Image */
.grad-green {
    background: linear-gradient(135deg, #a8e063 0%, #56ab2f 100%);
}

.grad-orange {
    background: linear-gradient(135deg, #ffd194 0%, #d1913c 100%);
}

.grad-pink {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
}

/* Adjusted to match image pink/purple */
.grad-purple {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.grad-blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* ========================================
   SPECIAL PACKAGE CARD (Glossy Design)
======================================== */
/* OFFENDING BLOCK REMOVED - CONFLICTS WITH NEW DESIGN
.package-card { ... }
*/