/* ============================================
   LE VERA INSTITUTE - RED & BLACK PROFESSIONAL THEME
   Main Color: Red (#c5252f) | Secondary: Black (#1a1a1a)
   Created for: www.leverainstitute.com
   ============================================ */

:root {
    /* Primary Colors */
    --primary-red: #c5252f;
    --primary-red-dark: #a01e27;
    --primary-red-light: #e03a45;
    --primary-red-soft: rgba(197, 37, 47, 0.1);
    --primary-red-medium: rgba(197, 37, 47, 0.2);
    
    /* Secondary Colors - Black & Dark */
    --black: #1a1a1a;
    --black-light: #2d2d2d;
    --black-soft: #3a3a3a;
    --black-bg: #0d0d0d;
    
    /* Neutral Colors */
    --text-dark: #1e1e1e;
    --text-light: #6c757d;
    --text-muted: #8c8f92;
    --gray-bg: #f8f8f8;
    --gray-border: #e8e8e8;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-red: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    --gradient-black: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
    --gradient-hero: linear-gradient(135deg, var(--black) 0%, var(--black-light) 50%, var(--primary-red-dark) 100%);
    
    /* Shadows */
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-red: 0 10px 25px rgba(197, 37, 47, 0.15);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--black);
}

.display-4, .display-5, .display-6 {
    font-weight: 800;
}

.text-red {
    color: var(--primary-red) !important;
}

.text-black {
    color: var(--black) !important;
}

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

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

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

/* ============================================
   NAVIGATION - BLACK & RED
   ============================================ */
.navbar-custom {
    background: var(--black);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    padding: 0.5rem 0;
    background: var(--black-bg);
    box-shadow: var(--shadow-lg);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--primary-red);
    letter-spacing: 1px;
    font-weight: 500;
}

.nav-link-custom {
    color: var(--white) !important;
    font-weight: 500;
    transition: all 0.3s;
    margin: 0 0.5rem;
    position: relative;
}

.nav-link-custom:hover {
    color: var(--primary-red) !important;
    transform: translateY(-2px);
}

.nav-link-custom.active {
    color: var(--primary-red) !important;
    font-weight: 700;
}

.nav-link-custom.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-red);
    border-radius: 2px;
}

.btn-enroll-nav {
    background: var(--primary-red);
    color: var(--white) !important;
    padding: 8px 24px !important;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-enroll-nav:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

/* ============================================
   HERO SECTION - BLACK BACKGROUND, RED ACCENTS
   ============================================ */
.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 160%;
    background: var(--primary-red);
    opacity: 0.08;
    transform: rotate(25deg);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 120%;
    background: var(--primary-red);
    opacity: 0.05;
    transform: rotate(-15deg);
    pointer-events: none;
}

.hero-badge {
    background: rgba(197, 37, 47, 0.15);
    color: var(--primary-red);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
    border: 1px solid rgba(197, 37, 47, 0.3);
    backdrop-filter: blur(5px);
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn-primary-red {
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-red:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    color: var(--white);
    box-shadow: var(--shadow-red);
}

.btn-outline-red {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-red:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

.btn-dark-red {
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--primary-red);
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-dark-red:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--black);
    position: relative;
}

.section-title span {
    color: var(--primary-red);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 48px;
    font-size: 1.1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    margin: 20px auto;
    border-radius: 2px;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 4px;
    background: var(--primary-red);
    top: 0;
    border-radius: 2px;
}

.section-divider::before {
    left: -25px;
}

.section-divider::after {
    right: -25px;
}

/* ============================================
   CARDS - RED & BLACK THEME
   ============================================ */
.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.3s;
    border: 1px solid var(--gray-border);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-red);
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red-soft);
}

.service-icon {
    background: var(--primary-red-soft);
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: var(--primary-red);
    transform: scale(1.05);
}

.service-icon i {
    font-size: 32px;
    color: var(--primary-red);
    transition: all 0.3s;
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--black);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Course Cards */
.course-card {
    background: var(--white);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s;
    border: 1px solid var(--gray-border);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left: 3px solid var(--primary-red);
}

.course-badge {
    background: var(--primary-red-soft);
    color: var(--primary-red);
    display: inline-block;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.course-card i {
    font-size: 2.2rem;
    color: var(--primary-red);
    margin-bottom: 15px;
    display: block;
}

.course-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--black);
}

.course-card .price {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 1.2rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--gray-border);
    position: relative;
}

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

.testimonial-card .quote-icon {
    color: var(--primary-red);
    font-size: 2.5rem;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 25px;
}

.testimonial-card p {
    font-style: italic;
    margin-top: 20px;
    color: var(--text-dark);
}

.testimonial-card h6 {
    margin-top: 20px;
    color: var(--primary-red);
    font-weight: 700;
}

/* ============================================
   STATS SECTION - BLACK BACKGROUND, RED NUMBERS
   ============================================ */
.stats-section {
    background: var(--black);
    padding: 70px 0;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-red);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ============================================
   ACCREDITATION SECTION
   ============================================ */
.accreditation-strip {
    padding: 50px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
}

.accreditation-item {
    text-align: center;
    transition: all 0.3s;
}

.accreditation-item i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.accreditation-item h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
}

.accreditation-item small {
    color: var(--text-light);
    font-size: 0.75rem;
}

.accreditation-item:hover {
    transform: translateY(-5px);
}

/* ============================================
   CAREGIVER PROMO SECTION
   ============================================ */
.caregiver-promo {
    background: var(--gradient-black);
    color: var(--white);
    padding: 70px 0;
    position: relative;
}

.caregiver-promo::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 100 100" opacity="0.05"><path fill="%23c5252f" d="M50,0 L61.8,35.1 L100,35.1 L70.9,56.9 L82.7,92 L50,70.1 L17.3,92 L29.1,56.9 L0,35.1 L38.2,35.1 Z"/></svg>');
    background-repeat: repeat;
    opacity: 0.05;
    pointer-events: none;
}

.promo-price-card {
    background: var(--white);
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.promo-price-card::before {
    content: 'HOT';
    position: absolute;
    top: 15px;
    right: -25px;
    background: var(--primary-red);
    color: white;
    padding: 5px 30px;
    font-size: 0.7rem;
    font-weight: 800;
    transform: rotate(45deg);
}

.promo-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-red);
}

/* ============================================
   FOOTER - BLACK BACKGROUND
   ============================================ */
footer {
    background: var(--black-bg);
    color: #b0b0b0;
    padding: 4rem 0 2rem;
    margin-top: 0;
}

footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

footer h5 i {
    color: var(--primary-red);
    margin-right: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    margin-right: 8px;
    transition: all 0.3s;
    color: var(--white);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.8rem;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--white);
    border-radius: 60px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    color: var(--white);
    background: #128C7E;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--primary-red);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    z-index: 1000;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-sm);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-red-dark);
    transform: translateY(-3px);
    color: var(--white);
}

/* ============================================
   FORMS
   ============================================ */
.form-control-custom,
.form-control {
    border-radius: 50px;
    padding: 12px 20px;
    border: 1px solid var(--gray-border);
    transition: all 0.3s;
}

.form-control-custom:focus,
.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(197, 37, 47, 0.1);
    outline: none;
}

textarea.form-control {
    border-radius: 20px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.fade-right {
    animation: fadeInRight 0.6s ease forwards;
}

.hover-lift {
    transition: all 0.3s ease;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .navbar-custom {
        padding: 0.8rem 0;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 1.8rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .whatsapp-float {
        padding: 8px 16px;
        font-size: 0.85rem;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 38px;
        height: 38px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-card, .course-card {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .btn-primary-red, .btn-outline-red {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .navbar-custom,
    footer,
    .whatsapp-float,
    .back-to-top,
    .btn-primary-red,
    .btn-outline-red {
        display: none;
    }
    
    body {
        background: var(--white);
        color: var(--black);
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .section-title {
        color: var(--black);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.border-red {
    border-color: var(--primary-red) !important;
}

.border-left-red {
    border-left: 3px solid var(--primary-red);
}

.shadow-red {
    box-shadow: var(--shadow-red);
}

.grayscale {
    filter: grayscale(100%);
    transition: all 0.3s;
}

.grayscale:hover {
    filter: grayscale(0%);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination .page-item.active .page-link {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

.pagination .page-link {
    color: var(--black);
}

.pagination .page-link:hover {
    color: var(--primary-red);
}

/* ============================================
   ACCORDION
   ============================================ */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-red);
    color: var(--white);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-red);
}

/* ============================================
   PROGRESS BARS
   ============================================ */
.progress {
    height: 8px;
    border-radius: 4px;
    background-color: var(--gray-border);
}

.progress-bar {
    background-color: var(--primary-red);
    border-radius: 4px;
}

/* ============================================
   ALERTS & NOTIFICATIONS
   ============================================ */
.alert-red {
    background-color: var(--primary-red-soft);
    border-color: var(--primary-red);
    color: var(--primary-red-dark);
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-border);
    border-top-color: var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}