/* Premium Custom Styling for MS Excel Course Landing Page */

:root {
    --primary-color: #1F3971;
    --primary-hover: #162a54;
    --secondary-color: #203a72;
    --accent-color: #FFAE27;
    --dark-bg: #1c3263;
    --text-light: #ffffff;
    --text-dark: #2f2b2b;
    --success-light: #fff5e6;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #fcfcfc;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-color) 0%, #F5B01F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    color: var(--dark-bg);
}

.title-underline {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    margin-top: 15px;
}

/* Navbar */
.custom-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.brand-text {
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0 120px;
    background-image: linear-gradient(to right, rgba(23, 50, 118, 0.9), rgba(10, 15, 26, 0.7)), url('img/workshop/hero_background_1779073620586.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 85vh;
}

.hero-image-wrapper {
    position: relative;
    perspective: 1000px;
}

.glass-effect-img {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-effect-img:hover {
    transform: rotateY(0) rotateX(0);
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: float 4s ease-in-out infinite;
}

.badge-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 174, 39, 0.3);
}

.btn-success {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
}

.btn-success:hover {
    background-color: #F4A012;
    border-color: #F4A012;
    color: var(--primary-color);
}

.cta-button {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
}

/* Pulse Animation for CTA */
.pulse-animation {
    animation: pulse-shadow 2s infinite;
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 174, 39, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 174, 39, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 174, 39, 0);
    }
}

/* Features */
.feature-card {
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.icon-box {
    width: 70px;
    height: 70px;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--secondary-color), #000);
}

.feature-list li {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Video Testimonial */
.video-testimonial {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-testimonial:hover {
    transform: scale(1.03);
}

.aspect-ratio-9-16 {
    aspect-ratio: 9/16;
    background-image: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.aspect-ratio-9-16::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.play-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, color 0.3s ease;
}

.video-testimonial:hover .play-icon {
    transform: scale(1.2);
    color: var(--primary-color) !important;
}

/* Schedule */
.schedule-section {
    background-color: var(--dark-bg);
    background-image: radial-gradient(circle at top right, rgba(31, 57, 113, 0.6), transparent 50%);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.custom-list .list-group-item {
    transition: background-color 0.3s ease;
}

.custom-list .list-group-item:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Certifications */
.cert-card {
    transition: transform 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--success-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Accordion */
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--success-light);
    color: var(--primary-color);
    box-shadow: none;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.1);
}

.custom-accordion .accordion-item {
    overflow: hidden;
}

/* Sticky Bottom */
.sticky-bottom-cta {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Bootstrap Utility Overrides for Theme Match */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.text-success {
    color: #F4A012 !important;
}

.bg-success {
    background-color: var(--accent-color) !important;
    color: var(--primary-color) !important;
}

.border-success {
    border-color: var(--accent-color) !important;
}

.text-warning {
    color: #F5B01F !important;
}

.bg-warning {
    background-color: #F5B01F !important;
    color: var(--primary-color) !important;
}

.border-warning {
    border-color: #F5B01F !important;
}

.text-info {
    color: #F4A012 !important;
}

.border-info {
    border-color: #F4A012 !important;
}

.bg-dark {
    background-color: var(--dark-bg) !important;
}

.text-dark {
    color: var(--text-dark) !important;
}

.bg-success .text-warning {
    color: var(--primary-color) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 80px;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .hero-image-wrapper {
        margin-top: 2rem;
    }

    .sticky-bottom-cta .btn {
        width: 100%;
        margin-top: 10px;
    }

    .sticky-bottom-cta .d-flex {
        flex-direction: column;
        align-items: stretch !important;
    }

    .price-info {
        justify-content: center;
    }
}

.text-dark-yellow {
    color: #cca000 !important;
}