/* main.min.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bs-font-sans-serif: 'Poppins', sans-serif;
    --primary-color: #c41e3a;
    --primary-dark: #8b0000;
    --primary-gradient: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    --bg-light: #f8f9fa;
}

body {
    font-family: var(--bs-font-sans-serif);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Navbar overrides */
.navbar {
    background: var(--primary-gradient) !important;
    box-shadow: 0 5px 30px rgba(196, 30, 58, 0.4);
    padding: 1.2rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffcccc;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after {
    width: 100%;
}

.btn-get-started {
    background: white;
    color: var(--primary-color) !important;
    border-radius: 30px;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: transform 0.2s;
}

.btn-get-started:hover {
    transform: translateY(-2px);
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-get-started::after { display: none !important; }

/* Hero Section */
.hero-section {
    background: transparent;
    color: #333;
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.btn-primary-custom {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(196, 30, 58, 0.5);
    color: white;
}

.btn-outline-custom {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Sections */
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

/* Cards (Modul, Template, Dept) */
.custom-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.custom-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.2);
}

.card-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(139, 0, 0, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.custom-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.custom-card ul {
    list-style: none;
    padding-left: 0;
}

.custom-card ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.custom-card ul li::before {
    content: '\F26A'; /* Bootstrap check icon */
    font-family: bootstrap-icons;   
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Checklist Items */
.checklist-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.checklist-item:hover {
    background: rgba(196, 30, 58, 0.05);
    transform: translateX(5px);
}

.checklist-number {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Badges */
.badge-custom {
    padding: 0.4em 0.8em;
    border-radius: 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}
.badge-required { background: var(--primary-gradient); color: white; }
.badge-optional { background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%); color: white; }
.badge-info-custom { background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%); color: white; }

/* Department Slots */
.dept-slots {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 1rem;
}

.slot-value {
    color: var(--primary-color);
    font-weight: 700;
}

/* Footer */
footer {
    background: var(--primary-gradient);
    color: white;
    padding: 3rem 0;
    margin-top: 5rem;
    text-align: center;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

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