/* ===== BOOTSTRAP FRAMEWORK REQUIRED RULES ===== */
.navbar-nav {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.nav-item {
    margin-bottom: 0 !important;
}

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

body {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    background-color: #f8f9fa;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0 !important;
}

.navbar-brand {
    font-weight: 700 !important;
    font-size: 24px !important;
    color: #DC143C !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
}

.navbar-nav {
    list-style: none !important;
}

.navbar-nav::before,
.navbar-nav::after {
    display: none !important;
}

.nav-item {
    list-style: none !important;
}

.nav-item::before,
.nav-item::after {
    display: none !important;
}

.nav-link {
    color: #333 !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #DC143C !important;
}

.btn-cta {
    background-color: #DC143C !important;
    color: #FFFFF0 !important;
    border: none !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
}

.btn-cta:hover {
    background-color: #B01030 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative !important;
    background: linear-gradient(135deg, #DC143C 0%, #B01030 100%) !important;
    padding: 120px 0 100px 0 !important;
    overflow: hidden !important;
    color: #FFFFF0 !important;
}

.hero-shapes {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

.shape {
    position: absolute !important;
    opacity: 0.1 !important;
}

.shape-circle {
    width: 300px !important;
    height: 300px !important;
    border-radius: 50% !important;
    background-color: #FFFFF0 !important;
    top: -100px !important;
    right: 10% !important;
}

.shape-square {
    width: 200px !important;
    height: 200px !important;
    background-color: #FFFFF0 !important;
    bottom: 50px !important;
    left: 5% !important;
    transform: rotate(45deg) !important;
}

.shape-polygon {
    width: 0 !important;
    height: 0 !important;
    border-left: 100px solid transparent !important;
    border-right: 100px solid transparent !important;
    border-bottom: 180px solid #FFFFF0 !important;
    top: 40% !important;
    left: 50% !important;
}

.shape-star {
    width: 0 !important;
    height: 0 !important;
    border-left: 50px solid transparent !important;
    border-right: 50px solid transparent !important;
    border-bottom: 70px solid #FFFFF0 !important;
    bottom: 20% !important;
    right: 30% !important;
}

.hero-content {
    position: relative !important;
    z-index: 2 !important;
}

.hero-section h1 {
    font-size: 48px !important;
    font-weight: 800 !important;
    margin-bottom: 25px !important;
    color: #FFFFF0 !important;
}

.hero-section p {
    font-size: 20px !important;
    margin-bottom: 15px !important;
    color: #FFFFF0 !important;
    opacity: 0.95 !important;
}

.hero-section .btn-cta {
    margin-top: 20px !important;
    background-color: #FFFFF0 !important;
    color: #DC143C !important;
    font-size: 18px !important;
    padding: 0.8rem 2rem !important;
}

.hero-section .btn-cta:hover {
    background-color: #fff !important;
    color: #DC143C !important;
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 38px !important;
    font-weight: 700 !important;
    margin-bottom: 30px !important;
    color: #DC143C !important;
    margin-top: 20px !important;
}

section h3 {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    margin-top: 35px !important;
    color: #333 !important;
}

section p {
    font-size: 18px !important;
    line-height: 1.8 !important;
    margin-bottom: 20px !important;
    color: #555 !important;
}

section img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

/* ===== CARDS ===== */
.card {
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px !important;
    background-color: #fff !important;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
}

.card-header {
    background-color: #DC143C !important;
    color: #FFFFF0 !important;
    font-weight: 700 !important;
    font-size: 22px !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 1.2rem !important;
}

.card-body {
    padding: 1.8rem !important;
}

.card-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    color: #DC143C !important;
}

.card-text {
    font-size: 18px !important;
    color: #555 !important;
    line-height: 1.8 !important;
}

/* ===== LISTS ===== */
ul, ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 25px !important;
}

section ul li,
section ol li {
    position: relative;
    padding-left: 35px !important;
    margin-bottom: 15px !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: #555 !important;
}

section ul li::before {
    content: '\f285' !important;
    font-family: 'bootstrap-icons' !important;
    position: absolute !important;
    left: 0 !important;
    color: #FFFFF0 !important;
    background-color: #DC143C !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    top: 2px !important;
}

section ol {
    counter-reset: custom-counter;
}

section ol li {
    counter-increment: custom-counter;
}

section ol li::before {
    content: counter(custom-counter) !important;
    position: absolute !important;
    left: 0 !important;
    color: #FFFFF0 !important;
    background-color: #DC143C !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    top: 2px !important;
}

/* Remove markers from navbar and footer */
.navbar ul,
.navbar ol,
footer ul,
footer ol {
    list-style: none !important;
}

.navbar ul li::before,
.navbar ul li::after,
.navbar ul li::marker,
.navbar ol li::before,
.navbar ol li::after,
.navbar ol li::marker,
footer ul li::before,
footer ul li::after,
footer ul li::marker,
footer ol li::before,
footer ol li::after,
footer ol li::marker {
    display: none !important;
    content: none !important;
}

.navbar-nav li,
footer ul li,
footer ol li {
    padding-left: 0 !important;
}

/* ===== TABLES ===== */
.table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

table {
    width: 100% !important;
    background-color: #fff !important;
    border-collapse: collapse !important;
    min-width: 600px;
}

thead {
    background-color: #DC143C !important;
}

thead th {
    color: #FFFFF0 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    padding: 1.2rem !important;
    text-align: left !important;
}

tbody tr {
    border-bottom: 1px solid #e9ecef;
}

tbody tr:hover {
    background-color: #f8f9fa;
}

tbody td {
    padding: 1rem !important;
    font-size: 17px !important;
    color: #555 !important;
}

/* ===== FOOTER ===== */
footer {
    background-color: #1a1a1a !important;
    color: #FFFFF0 !important;
    padding: 50px 0 30px 0 !important;
    margin-top: 60px;
}

footer h5 {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: #FFFFF0 !important;
}

footer ul {
    list-style: none !important;
    padding: 0 !important;
}

footer ul li {
    margin-bottom: 12px !important;
    padding-left: 0 !important;
}

footer a {
    color: #FFFFF0 !important;
    text-decoration: none !important;
    font-size: 17px !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #DC143C !important;
}

footer p {
    color: #FFFFF0 !important;
    margin-top: 30px !important;
    padding-top: 30px !important;
    border-top: 1px solid #444 !important;
    text-align: center !important;
    font-size: 16px !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 36px !important;
    }

    .hero-section p {
        font-size: 18px !important;
    }

    section h2 {
        font-size: 30px !important;
    }

    section h3 {
        font-size: 24px !important;
    }

    .navbar-brand {
        font-size: 20px !important;
    }

    .btn-cta {
        padding: 0.5rem 1.2rem !important;
        font-size: 16px !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 60px 0 !important;
    }

    .hero-section h1 {
        font-size: 28px !important;
    }

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 26px !important;
    }

    section h3 {
        font-size: 22px !important;
    }
}
