/**
 * PREMIUM HYBRID THEME - "SEA BLUE EDITION" (Biru Laut)
 * 1. Implements the requested "Sea Blue" (Biru Laut) Design.
 * 2. Enforces BLACK Text on the Light Blue backgrounds.
 * 3. Keeps White Text ONLY on Solid Buttons.
 */

:root {
    --bg-body: #f0f8ff;
    /* AliceBlue / Very Light Sea Mist */
    --color-black: #000000;
    /* Pitch Black */
    --color-grey: #2d3436;
    /* Dark Grey */
    --color-purple: #0288d1;
    /* REPLACED PURPLE WITH SEA BLUE */
    --color-blue: #01579b;
    /* DEEP OCEAN BLUE */
    --color-teal: #00ced1;
    /* Dark Turquoise */
}

/* GLOBAL RESET - Force Dark Text Globally */
body {
    background-color: var(--bg-body) !important;
    font-family: 'Poppins', sans-serif !important;
    color: var(--color-black) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
li,
a {
    color: var(--color-black);
    /* Default to Black */
}

/* =========================================
   NEWS CARDS - Compact Horizontal Layout
   ========================================= */
.news-card-compact {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px !important;
    overflow: hidden;
}

.news-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.news-card-compact .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-compact .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .news-card-compact .row {
        flex-direction: column;
    }
    .news-card-compact .col-md-4 img {
        max-height: 150px !important;
        border-radius: 10px 10px 0 0 !important;
    }
}

/* =========================================
   LOGIN BUTTON STYLING
   ========================================= */
.login-btn-nav {
    background: linear-gradient(90deg, #0288d1, #26c6da) !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    margin-left: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-btn-nav:hover {
    background: linear-gradient(90deg, #01579b, #00acc1) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.login-btn-nav::after {
    margin-left: 6px;
}

/* =========================================
   MOBILE NAVBAR DROPDOWN FIX
   ========================================= */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .navbar-nav .nav-item {
        border-bottom: 1px solid #f1f2f6;
    }
    
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        color: #2d3436 !important;
    }
    
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        border: none;
        box-shadow: none;
        background: #f8f9fa;
        padding: 0;
        margin: 0;
        border-radius: 0;
    }
    
    .navbar-nav .dropdown-menu.show {
        display: block !important;
    }
    
    .navbar-nav .dropdown-item {
        padding: 10px 25px;
        font-size: 0.9rem;
        border-bottom: 1px solid #e9ecef;
    }
    
    .navbar-nav .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }
    
    /* Login button on mobile */
    .navbar-nav .btn.dropdown-toggle {
        width: 100%;
        text-align: left;
        margin: 10px 0;
    }
    
    .navbar-nav .login-btn-nav {
        background: linear-gradient(90deg, #0288d1, #26c6da) !important;
        color: #fff !important;
        border-radius: 6px;
        padding: 10px 15px !important;
        margin: 10px 0;
        text-align: center;
    }
}

/* =========================================
   STYLE 1: COURSE CARDS (Redesigned - Compact Design)
   ========================================= */
.course-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    padding: 0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(1, 87, 155, 0.12) !important;
}

/* Course Image - Compact */
.course-card .course-image {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.course-card .course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-card .course-badge {
    position: absolute;
    top: 8px;
    left: 8px;
}

.course-card .course-badge .badge {
    font-size: 0.65rem;
    padding: 4px 8px;
    border-radius: 4px;
}

.course-card .featured-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.6rem;
    padding: 3px 8px;
}

/* Course Body - Compact */
.course-card .course-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-card .course-category {
    font-size: 0.7rem;
    color: #0288d1 !important;
    font-weight: 500;
    margin-bottom: 4px;
}

.course-card .course-title {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #2d3436 !important;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card .course-description {
    font-size: 0.75rem !important;
    color: #636e72 !important;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card .course-meta {
    display: flex;
    gap: 12px;
    font-size: 0.7rem;
    color: #636e72 !important;
    margin-bottom: 10px;
    padding-top: 8px;
    border-top: 1px solid #f1f2f6;
}

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

.course-card .course-meta i {
    color: #0288d1 !important;
    margin-right: 4px;
    font-size: 0.7rem;
}

/* Course Footer - Compact */
.course-card .course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #f1f2f6;
    margin-top: auto;
}

.course-card .course-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.course-card .price-old {
    font-size: 0.65rem;
    color: #b2bec3 !important;
    text-decoration: line-through;
}

.course-card .price-new {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0288d1 !important;
}

.course-card .course-footer .btn {
    font-size: 0.7rem !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
}

/* COLORFUL BADGES (Warna Warni) - Compact */
.course-card .badge.bg-success {
    background: linear-gradient(45deg, #11998e, #38ef7d) !important;
    box-shadow: 0 2px 6px rgba(56, 239, 125, 0.25);
    font-size: 0.65rem;
    padding: 3px 8px;
}

.course-card .badge.bg-warning {
    background: linear-gradient(45deg, #fce38a, #f38181) !important;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 6px rgba(243, 129, 129, 0.25);
    font-size: 0.65rem;
    padding: 3px 8px;
}

.course-card .badge.bg-info {
    background: linear-gradient(45deg, #4facfe, #00f2fe) !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(0, 242, 254, 0.25);
    font-size: 0.65rem;
    padding: 3px 8px;
}

.featured-badge {
    background: linear-gradient(45deg, #FFD700, #FFA500) !important;
    color: white !important;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(255, 165, 0, 0.3);
    display: inline-block;
}

/* FORCE BLACK TEXT INSIDE CARD (Except Buttons/Badges) */
.course-card h1,
.course-card h2,
.course-card h3,
.course-card h4,
.course-card h5,
.course-card h6,
.course-card p,
.course-card span,
.course-card div {
    color: #2d3436 !important;
    text-shadow: none !important;
}

/* Re-allow white text on badges */
.course-card .badge,
.course-card .badge span {
    color: #ffffff !important;
}

/* BUTTONS INSIDE CARD - SEA BLUE GRADIENT */
.course-card .btn {
    background: linear-gradient(90deg, #0288d1, #26c6da) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    font-size: 0.7rem !important;
    box-shadow: 0 2px 8px rgba(2, 136, 209, 0.3);
    width: auto;
}

.course-card .btn:hover {
    background: linear-gradient(90deg, #01579b, #00acc1) !important;
    transform: scale(1.02);
}


/* =========================================
   STYLE 2: WHITE PACKAGE CARDS (Clean Style)
   Background: Pure White
   =========================================*/
/* 4. CARDS DECORATION & ANIMATION */
/* ALL Card types must be WHITE with a shadow to stand out against background */
.card,
.package-card,
.gallery-item,
.contact-info-card,
.instructor-card,
.testimonial-card {
    background: #ffffff !important;
    color: var(--color-dark) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border: 0 !important;
    border-radius: 15px !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
    z-index: 1;
}

/* HOVER EFFECT: Lift & Glow */
.card:hover,
.package-card:hover,
.gallery-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(2, 136, 209, 0.15) !important;
}

/* GRADIENT BORDER ACCENT (Bottom) */
.card::after,
.package-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #01579b, #0288d1, #4fc3f7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover::after,
.course-card:hover::after,
.package-card:hover::after {
    transform: scaleX(1);
    /* Animate line across bottom */
}

/* ICON ANIMATION inside cards */
.card .icon-box i,
.course-card i,
.package-card i {
    transition: transform 0.5s ease;
}

.card:hover .icon-box i,
.course-card:hover i {
    transform: rotate(360deg) scale(1.2);
}

/* LIST ITEM ANIMATION (Staggered slide) */
.card ul li {
    transition: transform 0.3s ease;
}

.card:hover ul li:nth-child(1) {
    transform: translateX(10px);
    transition-delay: 0.05s;
}

.card:hover ul li:nth-child(2) {
    transform: translateX(10px);
    transition-delay: 0.1s;
}

.card:hover ul li:nth-child(3) {
    transform: translateX(10px);
    transition-delay: 0.15s;
}

.card:hover ul li:nth-child(4) {
    transform: translateX(10px);
    transition-delay: 0.2s;
}


/* =========================================
   STYLE 2: PRICING TABLE DESIGN (User Request)
   ========================================= */
.package-card {
    background: #ffffff !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: none !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    /* Center everything */
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

/* PRICING HEADER (New Element) */
.package-header {
    background: #ffffff;
    padding: 30px 20px 10px;
    position: relative;
    border-bottom: 1px solid #f1f2f6;
}

/* Featured Card Header */
.package-card.featured .package-header {
    background: linear-gradient(135deg, #0288d1 0%, #00acc1 100%) !important;
    /* Ocean Blue to Cyan */
    color: white !important;
    padding-top: 50px;
    /* Space for ribbon */
}

/* Badge/Ribbon Styling */
.package-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff9f43;
    /* Orange */
    color: white !important;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10px 50%);
    /* Ribbon shape if left, but here simpler */
    border-bottom-left-radius: 10px;
}

.package-card.featured .package-badge {
    background: #f1c40f;
    /* Gold for Featured */
    color: #2d3436 !important;
    padding: 5px 30px;
    top: 25px;
    right: -30px;
    transform: rotate(45deg);
    /* Diagonal Ribbon */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    width: 150px;
    text-align: center;
    border-radius: 0;
    clip-path: none;
}

/* Typography */
.package-title {
    color: #2d3436 !important;
    font-weight: 800 !important;
    margin-bottom: 5px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-card.featured .package-title {
    color: white !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.package-price {
    color: #01579b !important;
    /* Deep Ocean Blue Price */
    font-weight: 900 !important;
    font-size: 2rem;
    margin-bottom: 0;
    margin-top: 10px;
}

.package-card.featured .package-price {
    color: white !important;
}

.package-period {
    font-size: 0.9rem;
    color: #95a5a6 !important;
    font-weight: normal;
}

.package-card.featured .package-period {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Card Body */
.package-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-desc {
    color: #636e72 !important;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    display: none;
    /* Hide desc in pricing table view to be cleaner, or keep small? User image had minimal text */
}

/* Features List */
.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    /* Keep list aligned left */
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
}

.package-features li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f2f6;
    /* Divider from reference image */
    color: #2d3436 !important;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i {
    color: #2ecc71 !important;
    /* Green Check */
    margin-right: 12px;
    font-size: 1.2rem;
}

/* Buttons */
.btn-package {
    margin-top: auto;
    background: transparent !important;
    border: 2px solid #0288d1 !important;
    /* Blue Border */
    color: #0288d1 !important;
    width: 100%;
    border-radius: 50px;
    padding: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-package:hover {
    background: #0288d1 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(2, 136, 209, 0.3);
}

.package-card.featured .btn-package {
    background: white !important;
    color: #0288d1 !important;
    border-color: white !important;
}

.package-card.featured .btn-package:hover {
    background: #e1f5fe !important;
    color: #01579b !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Removed Elements */
.package-image,
.package-tags {
    display: none !important;
}

/* Tags */
.package-tags {
    margin-bottom: 20px;
}

.package-tag {
    background: #f1f2f6;
    color: #57606f !important;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 5px;
    display: inline-block;
    margin-bottom: 5px;
}

/* Features List Override */
.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: left;
}

.package-features li {
    margin-bottom: 10px;
    color: #2d3436 !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.package-features li i {
    color: #2ecc71 !important;
    /* Green Check */
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Featured Card Special Styling */
.package-card.featured {
    border: 3px solid #FDC830 !important;
    transform: scale(1.05);
    /* Slightly bigger */
    z-index: 10;
}

.package-card.featured:hover {
    transform: scale(1.07);
}


/* =========================================
   GENERAL ELEMENTS & OVERRIDES
   ========================================= */

/* Page Header - Clean White Background, Black Text */
/* This solves the "Don't make text white" complaint for headers */
.page-header {
    background: #ffffff !important;
    padding: 60px 0 !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid #0288d1;
    /* Sea Blue accent border */
}

.page-header h1,
.page-header h2,
.page-header p,
.page-header .breadcrumb-item {
    color: #000000 !important;
    /* Force Black */
    text-shadow: none !important;
}

.page-header .breadcrumb-item.active {
    color: #0288d1 !important;
    /* Sea Blue accent */
}

/* Filter Buttons Group */
.btn-group .btn {
    background: white !important;
    border: 2px solid #0288d1 !important;
    color: #0288d1 !important;
    /* Sea Blue Text */
    border-radius: 50px !important;
    margin: 5px;
}

.btn-group .btn.active,
.btn-group .btn:hover {
    background: #0288d1 !important;
    color: white !important;
}

/* NAVBAR FIXED VISIBILITY */
.navbar {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    color: #0288d1 !important;
    /* Make brand/logo Sea Blue */
    text-shadow: none !important;
}

.navbar-brand i {
    color: #01579b !important;
    /* Deep Blue Icon */
}

.nav-link {
    color: #333333 !important;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    color: #0288d1 !important;
    /* Sea Blue hover */
}

/* Prevent bg-primary on navbar from turning text white */
.navbar.bg-primary * {
    color: inherit;
}


/* FOOTER */
.footer {
    background: #2d3436 !important;
    color: #ecf0f1 !important;
}

.footer h3,
.footer h4 {
    color: white !important;
}

/* UTILITY KILLER - NO WHITE TEXT ALLOWED (Except in specific containers) */
.text-white {
    color: #000000 !important;
}

/* Exceptions where text-white is actually needed */
.btn-primary .text-white,
.badge .text-white,
.package-card.featured .text-white,
.footer .text-white {
    color: white !important;
}

/* SPECIFIC FIX FOR FILTER BUTTONS */
.btn-outline-primary {
    color: #2575fc !important;
    border-color: #2575fc !important;
}

.btn-outline-primary:hover {
    color: white !important;
    background: #2575fc !important;
}

/* FIX FOR SECONDARY/LIGHT OUTLINE BUTTONS (Invisible Text Issue) */
.btn-outline-secondary,
.btn-outline-light {
    color: #444444 !important;
    /* Force Dark Grey Text */
    border-color: #ced4da !important;
    background: transparent !important;
}

.btn-outline-secondary:hover,
.btn-outline-light:hover {
    color: black !important;
    background: #e9ecef !important;
    border-color: #adb5bd !important;
}


/* =========================================
   NUCLEAR VISIBILITY FIX (The "Change Everything" Request)
   ========================================= */

/* 1. OVERRIDE BOOTSTRAP UTILITIES GLOBALLY */
/* Any element using .text-white or .text-white-50 gets DARK text now */
.text-white,
.text-light,
.text-white-50,
.text-muted {
    color: #444444 !important;
    /* Dark Grey */
}

/* 2. SPECIFIC SECTIONS THAT MIGHT STILL BE WHITE */
.lead,
.description,
p.small {
    color: #444444 !important;
}

/* 3. ENSURE HEADINGS ARE PITCH BLACK */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: #000000 !important;
}

/* 4. RESTORE WHITE TEXT ONLY IN SAFE ZONES */
/* These are the ONLY places white text is allowed */
/* BUT EXCLUDE PAGE HEADER because it has white background */
.btn-primary,
.btn-primary *,
.bg-primary:not(.page-header):not(.navbar),
/* EXCLUDE NAVBAR from white text rule */
.bg-primary:not(.page-header):not(.navbar) *,
.badge.bg-primary,
.badge.bg-danger,
.badge.bg-success,
.footer h3,
.footer h4 {
    color: white !important;
}

/* 5. SPECIFIC PAGE HEADER PROTECTION */
.page-header,
.page-header *,
.page-header .text-white,
.page-header .breadcrumb-item,
.page-header .breadcrumb-item.active {
    color: #000000 !important;
    /* FORCE BLACK */
    text-shadow: none !important;
}

/* 6. FIX FOR PACKAGE CARDS (Replace Black with Gradient) */
/* The user hated the black header. We replace bg-dark with the Premium Gradient */
.card-header.bg-dark,
.card-header.bg-primary,
.badge.bg-dark {
    background: linear-gradient(135deg, #8e44ad 0%, #2575fc 100%) !important;
    color: #ffffff !important;
    border-bottom: 0 !important;
}

/* Ensure text inside this gradient header is WHITE */
.card-header.bg-dark h3,
.card-header.bg-dark p,
.card-header.bg-primary h3,
.card-header.bg-primary p {
    color: #ffffff !important;
}

/* POPULER BADGE - Make it stand out */
.badge.bg-warning {
    background-color: #ffce00 !important;
    color: #000 !important;
    box-shadow: 0 5px 15px rgba(255, 206, 0, 0.4);
    font-weight: 800 !important;
    letter-spacing: 1px;
}

/* =========================================
   CONTACT CARDS (Colorful Solid)
   ========================================= */
.contact-info-card {
    border-radius: 15px !important;
    /* Smaller radius */
    padding: 15px !important;
    /* Reduced padding from 30px */
    color: white !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease;
    border: none !important;
    height: 100%;
    /* Ensure uniform height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.contact-info-card h5 {
    color: white !important;
    font-weight: 700;
    margin-bottom: 5px;
    /* Reduced margin */
    font-size: 1.1rem;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem;
    /* Smaller font */
    margin-bottom: 0;
    line-height: 1.4;
}

.contact-icon {
    font-size: 1.8rem;
    /* Smaller icon */
    margin-bottom: 10px;
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    /* Reduced from 80px */
    height: 60px;
    /* Reduced from 80px */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

/* Specific Colors */
.contact-address {
    background: linear-gradient(135deg, #0288d1 0%, #26c6da 100%) !important;
    /* Sea Blue to Cyan */
    box-shadow: 0 10px 25px rgba(2, 136, 209, 0.4) !important;
}

.contact-phone {
    background: linear-gradient(135deg, #00acc1 0%, #4dd0e1 100%) !important;
    /* Cyan/Teal (Sea Foam) */
    box-shadow: 0 10px 25px rgba(0, 172, 193, 0.4) !important;
}

.contact-email {
    background: linear-gradient(135deg, #01579b 0%, #0288d1 100%) !important;
    /* Deep Ocean Blue */
    box-shadow: 0 10px 25px rgba(1, 87, 155, 0.4) !important;
}

/* =========================================
   GALLERY SWIPER CAROUSEL
   ========================================= */
.gallery-item-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    height: 250px;
    /* Fixed height for boxes */
    width: 100%;
}

.gallery-item-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-card:hover img {
    transform: scale(1.1);
}

.gallery-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(1, 87, 155, 0.9), transparent);
    /* Deep Blue Gradient */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-card:hover .gallery-card-overlay {
    opacity: 1;
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet-active {
    background-color: #2575fc !important;
}

/* =========================================
   INSTRUCTOR CIRCLE SLIDER
   ========================================= */
.instructor-circle-card {
    padding: 20px;
    transition: transform 0.3s ease;
}

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

.instructor-circle-img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50% !important;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 1 / 1;
}

.instructor-circle-card:hover .instructor-circle-img {
    box-shadow: 0 8px 25px rgba(37, 117, 252, 0.3);
    transform: scale(1.05);
    border-color: #2575fc;
}

.instructor-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50% !important;
}

.instructor-social-simple i {
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.instructor-social-simple i:hover {
    color: #2575fc !important;
}

/* Instructor Swiper Navigation */
.instructorSwiper {
    position: relative;
    padding: 0 50px;
}

.instructorSwiper .swiper-button-prev,
.instructorSwiper .swiper-button-next {
    color: #2575fc;
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

.instructorSwiper .swiper-button-prev:after,
.instructorSwiper .swiper-button-next:after {
    font-size: 18px;
    font-weight: bold;
}

.instructorSwiper .swiper-button-prev:hover,
.instructorSwiper .swiper-button-next:hover {
    background: #2575fc;
    color: white;
}

.instructorSwiper .swiper-pagination-bullet-active {
    background-color: #2575fc !important;
}

/* =========================================
   ABOUT US SLIDER
   ========================================= */
.about-slider-item {
    padding-bottom: 30px;
    /* Space for pagination */
}

.aboutSwiper .swiper-button-next,
.aboutSwiper .swiper-button-prev {
    color: #2575fc;
}

.aboutSwiper .swiper-pagination-bullet-active {
    background-color: #2575fc !important;
}

/* =========================================
   SOLID VIBRANT BUTTONS (No Gradient)
   "warna warni tapi solid jangan gradasi"
   ========================================= */

/* Reset generic gradient if specific class is present */
.course-card .btn.btn-solid-blue,
.course-card .btn.btn-solid-red,
.course-card .btn.btn-solid-green,
.course-card .btn.btn-solid-orange,
.course-card .btn.btn-solid-purple,
.course-card .btn.btn-solid-teal {
    background-image: none !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card .btn.btn-solid-blue {
    background-color: #2575fc !important;
}

.course-card .btn.btn-solid-blue:hover {
    background-color: #1a5bca !important;
}

.course-card .btn.btn-solid-red {
    background-color: #ff0844 !important;
}

.course-card .btn.btn-solid-red:hover {
    background-color: #d90638 !important;
}

.course-card .btn.btn-solid-green {
    background-color: #2ecc71 !important;
}

.course-card .btn.btn-solid-green:hover {
    background-color: #27ae60 !important;
}

.course-card .btn.btn-solid-orange {
    background-color: #ff9f43 !important;
}

/* Orange looks better than yellow for buttons */
.course-card .btn.btn-solid-orange:hover {
    background-color: #e58e26 !important;
}

.course-card .btn.btn-solid-purple {
    background-color: #9b59b6 !important;
}

.course-card .btn.btn-solid-purple:hover {
    background-color: #8e44ad !important;
}

.course-card .btn.btn-solid-teal {
    background-color: #00cec9 !important;
}

.course-card .btn.btn-solid-teal:hover {
    background-color: #00b8b4 !important;
}

/* Add hover lift */
.course-card .btn[class*="btn-solid"]:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25) !important;
}

/* =========================================
   LIVE CHAT WIDGET
   ========================================= */
#liveChatWidget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

#liveChatWidget.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-toggle {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.chat-toggle:hover {
    color: #fff;
}

.chat-body {
    height: 350px;
    background: #f8f9fa;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.chat-message {
    margin-bottom: 15px;
    max-width: 80%;
    animation: slideIn 0.3s ease;
}

.bot-message {
    align-self: flex-start;
}

    .user-message {
        align-self: flex-end;
    }

    .message-content {
        padding: 10px 15px;
        border-radius: 15px;
        font-size: 0.9rem;
        line-height: 1.4;
        position: relative;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .bot-message .message-content {
        background: #fff;
        color: #333;
        border-bottom-left-radius: 5px;
    }

    .user-message .message-content {
        background: #2575fc;
        color: #fff;
        border-bottom-right-radius: 5px;
    }

    .message-time {
        font-size: 0.7rem;
        color: #aaa;
        margin-top: 5px;
        display: block;
    }

    .user-message .message-time {
        text-align: right;
    }

    .chat-footer {
        padding: 15px;
        background: #fff;
        border-top: 1px solid #eee;
    }

    .chat-footer .input-group {
        background: #f1f2f6;
        border-radius: 50px;
        padding: 5px;
    }

    .chat-footer input {
        border: none;
        background: transparent;
        padding-left: 15px;
        outline: none;
        box-shadow: none !important;
    }

    .chat-footer .btn {
        border-radius: 50%;
        width: 40px;
        height: 40px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #2575fc;
        color: #fff;
        border: none;
    }

    /* Chat Bubble Trigger */
    #chatBubble {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
        cursor: pointer;
        z-index: 9998;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    #chatBubble:hover {
        transform: scale(1.1);
    }

    .chat-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        background: #ff0844;
        color: white;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #fff;
        font-weight: bold;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* =========================================
   FOOTER (Light Sea Blue Theme)
   ========================================= */
    .footer {
        background-color: #03a9f4 !important;
        /* Light Sea Blue */
        background: linear-gradient(180deg, #29b6f6 0%, #039be5 100%) !important;
        /* Cyan to Light Blue */
        color: #01579b !important;
        /* Deep Blue Text for Contrast */
        padding-top: 60px;
        margin-top: 50px;
        border-top: 5px solid #01579b;
        /* Deep Blue border */
    }

    .footer h3,
    .footer h4,
    .footer h5 {
        color: #ffffff !important;
        font-weight: 800;
        letter-spacing: 1px;
        margin-bottom: 25px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .footer p,
    .footer li,
    .footer span,
    .footer a {
        color: #e1f5fe !important;
        /* Very Light Blue/White tint */
        font-weight: 500;
    }

    /* Override: If background is light, we usually need dark text. 
   But user asked for "Blue Laut" which is usually deep. 
   If they want the *Cyan* strip, that's bright.
   Let's try WHITE text on the bright blue, it usually looks fresh.
   If contrast is poor, we will darken it.
   #039be5 is readable with white.
*/

    .footer p,
    .footer li,
    .footer span,
    .footer a {
        color: #ffffff !important;
        /* White text on Blue background */
    }


    .footer a:hover {
        color: #e1f5fe !important;
        text-decoration: none;
        padding-left: 5px;
        /* Slide effect */
        transition: all 0.3s ease;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }

    .social-links a {
        background: rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin-right: 10px;
        transition: all 0.3s ease;
    }

    .social-links a:hover {
        background: #ffffff !important;
        color: #0288d1 !important;
        transform: translateY(-5px);
    }

    .footer-bottom {
        background: rgba(0, 0, 0, 0.1) !important;
        margin-top: 40px;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Remove 'text-white' override inside footer to prevent conflicts if any */
    .footer .text-white {
        color: #ffffff !important;
    }


    /* =========================================
   UTILITY & OVERRIDES
   ========================================= */
    /* Utility Classes for this theme */
    .bg-sea-blue {
        background-color: #0288d1 !important;
    }

    .text-sea-blue {
        color: #01579b !important;
    }

    /* FIX: Ensure badges in Footer (if any) are readable */
    .footer .badge {
        background: rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
    }

    /* FIX: Ensure form inputs in Footer (Newsletter) are usable */
    .footer input.form-control {
        background: rgba(255, 255, 255, 0.9) !important;
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
        color: #0288d1 !important;
    }

    .footer input.form-control::placeholder {
        color: #81d4fa !important;
    }

    .footer .btn-primary {
        background: #01579b !important;
        /* Deep Blue Button */
        border: none !important;
        color: white !important;
        font-weight: bold;
    }

    .footer .btn-primary:hover {
        background: #ffffff !important;
        color: #01579b !important;
    }
}
