/* ===== IMPORTS ===== */
@import url('https://fonts.cdnfonts.com/css/cabinet-grotesk');

/* ===== CSS VARIABLES ===== */
:root {
    --main-color: #4a4a4a;
    --accent-color: #87ceeb;
    --accent-dark: #5fb3d9;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #2d2d2d;
}

/* ===== BASE STYLES ===== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: var(--text-dark) !important;
    background-color: #ffffff !important;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cabinet Grotesk', sans-serif !important;
    font-weight: 700 !important;
    color: var(--main-color) !important;
    line-height: 1.3 !important;
}

h1 {
    font-size: 2.5rem !important;
    margin-bottom: 1.5rem !important;
}

h2 {
    font-size: 2rem !important;
    margin-top: 2rem !important;
    margin-bottom: 1.25rem !important;
}

h3 {
    font-size: 1.5rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
}

p {
    font-size: 1.125rem !important;
    margin-bottom: 1.25rem !important;
    color: var(--text-dark) !important;
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: var(--main-color) !important;
    padding: 1rem 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

.navbar-brand {
    display: flex !important;
    align-items: center !important;
}

.navbar-brand .logo-img {
    height: 40px !important;
    width: auto !important;
    margin-right: 0.75rem !important;
}

.navbar-brand .brand-name {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--text-light) !important;
    text-decoration: none !important;
}

.navbar-menu {
    background-color: transparent !important;
}

.navbar-item,
.navbar-link {
    color: var(--text-light) !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    list-style: none !important;
}

.navbar-item::before,
.navbar-item::after,
.navbar-link::before,
.navbar-link::after {
    display: none !important;
    content: none !important;
}

.navbar-item:hover,
.navbar-link:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: var(--accent-color) !important;
}

.navbar-burger {
    color: var(--text-light) !important;
}

.navbar-burger span {
    background-color: var(--text-light) !important;
    height: 2px !important;
}

/* ===== NAVBAR CTA BUTTONS ===== */
.navbar-end .button.is-accent {
    background-color: var(--accent-color) !important;
    color: var(--text-dark) !important;
    border: none !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    margin-left: 0.5rem !important;
}

.navbar-end .button.is-accent:hover {
    background-color: var(--accent-dark) !important;
}

.navbar-end .button.is-outline {
    background-color: transparent !important;
    color: var(--text-light) !important;
    border: 2px solid var(--accent-color) !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.navbar-end .button.is-outline:hover {
    background-color: var(--accent-color) !important;
    color: var(--text-dark) !important;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--bg-dark) 100%) !important;
    padding: 4rem 0 !important;
}

.hero .title {
    color: var(--text-light) !important;
    font-size: 2.75rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
}

.hero .subtitle,
.hero p {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.25rem !important;
    line-height: 1.8 !important;
    margin-bottom: 2rem !important;
}

.hero-image img {
    border-radius: 12px !important;
    max-width: 100% !important;
    height: auto !important;
}

.hero .button.is-cta {
    background-color: var(--accent-color) !important;
    color: var(--text-dark) !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
}

.hero .button.is-cta:hover {
    background-color: var(--accent-dark) !important;
    transform: translateY(-2px) !important;
}

/* ===== TABLE OF CONTENTS ===== */
.toc {
    background-color: var(--bg-light) !important;
    padding: 2rem !important;
    border-radius: 12px !important;
    margin: 3rem 0 !important;
    border-left: 4px solid var(--accent-color) !important;
}

.toc ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.toc li {
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

.toc li:last-child {
    border-bottom: none !important;
}

.toc li::before {
    display: none !important;
}

.toc a {
    color: var(--main-color) !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.toc a:hover {
    color: var(--accent-dark) !important;
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 0 !important;
}

.section:nth-child(even) {
    background-color: var(--bg-light) !important;
}

.section-title {
    color: var(--main-color) !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 2rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 3px solid var(--accent-color) !important;
}

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

.content ul li,
.content ol li {
    position: relative !important;
    padding-left: 1.75rem !important;
    margin-bottom: 0.75rem !important;
    font-size: 1.1rem !important;
}

.content ul li::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0.6rem !important;
    width: 8px !important;
    height: 8px !important;
    background-color: var(--accent-color) !important;
    border-radius: 50% !important;
}

.content ol {
    counter-reset: list-counter !important;
}

.content ol li::before {
    counter-increment: list-counter !important;
    content: counter(list-counter) !important;
    position: absolute !important;
    left: 0 !important;
    top: 0.1rem !important;
    width: 24px !important;
    height: 24px !important;
    background-color: var(--accent-color) !important;
    color: var(--text-dark) !important;
    border-radius: 50% !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ===== CARDS ===== */
.card {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
}

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

.card-content {
    padding: 1.5rem !important;
}

.card-content .title {
    color: var(--main-color) !important;
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
}

.card-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

/* ===== TABLES ===== */
.table-container {
    overflow-x: auto !important;
    margin: 2rem 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08) !important;
}

.table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 1rem !important;
    min-width: 600px !important;
}

.table thead {
    background-color: var(--main-color) !important;
}

.table thead th {
    color: var(--text-light) !important;
    font-weight: 600 !important;
    padding: 1rem !important;
    text-align: left !important;
    border: none !important;
}

.table tbody tr {
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

.table tbody tr:nth-child(even) {
    background-color: var(--bg-light) !important;
}

.table tbody tr:hover {
    background-color: rgba(135,206,235,0.15) !important;
}

.table tbody td {
    padding: 1rem !important;
    color: var(--text-dark) !important;
}

/* ===== IMAGES ===== */
.content-image {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    margin: 2rem 0 !important;
    display: block !important;
}

.image-card {
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 2rem 0 !important;
}

/* ===== BUTTONS ===== */
.button.is-primary {
    background-color: var(--accent-color) !important;
    color: var(--text-dark) !important;
    border: none !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

.button.is-primary:hover {
    background-color: var(--accent-dark) !important;
    transform: translateY(-2px) !important;
}

.button.is-secondary {
    background-color: var(--main-color) !important;
    color: var(--text-light) !important;
    border: none !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.button.is-secondary:hover {
    background-color: var(--bg-dark) !important;
}

/* ===== FAQ SECTION ===== */
.faq-item {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    margin-bottom: 1rem !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    transition: box-shadow 0.3s ease !important;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08) !important;
}

.faq-item h3 {
    color: var(--main-color) !important;
    font-size: 1.25rem !important;
    margin-bottom: 0.75rem !important;
}

.faq-item p {
    color: var(--text-dark) !important;
    margin-bottom: 0 !important;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--bg-dark) !important;
    padding: 4rem 0 2rem !important;
    color: var(--text-light) !important;
}

.footer .title {
    color: var(--text-light) !important;
    font-size: 1.25rem !important;
    margin-bottom: 1.5rem !important;
}

.footer p {
    color: rgba(255,255,255,0.8) !important;
    font-size: 1rem !important;
}

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

.footer ul li {
    padding: 0.4rem 0 !important;
}

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

.footer a {
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.footer a:hover {
    color: var(--accent-color) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    margin-top: 3rem !important;
    padding-top: 2rem !important;
    text-align: center !important;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6) !important;
    font-size: 0.95rem !important;
}

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

@keyframes starPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards !important;
}

.star-animation {
    position: fixed !important;
    width: 4px !important;
    height: 4px !important;
    background-color: var(--accent-color) !important;
    border-radius: 50% !important;
    animation: starPulse 3s infinite !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.star-1 { top: 10%; left: 5%; animation-delay: 0s !important; }
.star-2 { top: 20%; right: 10%; animation-delay: 0.5s !important; }
.star-3 { top: 60%; left: 8%; animation-delay: 1s !important; }
.star-4 { top: 80%; right: 5%; animation-delay: 1.5s !important; }
.star-5 { top: 40%; left: 3%; animation-delay: 2s !important; }

/* ===== ICONS ===== */
.bi {
    color: var(--accent-color) !important;
    font-size: 1.5rem !important;
    vertical-align: middle !important;
}

.icon-main {
    color: var(--main-color) !important;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: var(--main-color) !important;
        padding: 1rem !important;
    }

    .navbar-menu.is-active {
        display: block !important;
    }

    .navbar-end {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        padding-top: 1rem !important;
    }

    .navbar-end .button {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 16px !important;
    }

    h1, .hero .title {
        font-size: 2rem !important;
    }

    h2, .section-title {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    .hero {
        padding: 3rem 0 !important;
    }

    .section {
        padding: 3rem 0 !important;
    }

    .hero-image {
        margin-top: 2rem !important;
    }

    .columns.is-reversed-mobile {
        display: flex !important;
        flex-direction: column-reverse !important;
    }
}

/* ===== UTILITY CLASSES ===== */
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
