
:root {
    --color-navy: #0E2A47;
    --color-gold: #C8A96B;
    --color-bg: #F8F8F8;
    --color-text: #1F2937;
    --radius-lg: 1rem;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.glass-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
}

.theme-shadow {
    box-shadow: var(--shadow-soft);
}

.transition-theme {
    transition: all 0.3s ease;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--color-navy);
    font-weight: 700;
}

.prose p,
.prose li {
    line-height: 1.8;
}

.prose a {
    color: var(--color-gold);
    font-weight: 600;
}
.bg-navy {
}

.bg-gold {
    background-color: #C8A96B;
}

.text-gold {
    color: #C8A96B;
}

.border-gold {
    border-color: #C8A96B;
}

.bg-bg {
    background-color: #F8F8F8;
}

.font-heading {
    font-family: 'Poppins', sans-serif;
}

.page-enter {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    font-family: 'Poppins', sans-serif;
    color: #0E2A47;
}

.prose a {
    color: #C8A96B;
    text-decoration: none;
}

.prose a:hover {
    text-decoration: underline;
}

/* =================== Calculator Form Styles =================== */
.calc-label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0E2A47;
    margin-bottom: 0.375rem;
}

.calc-input {
    display: block;
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: #0E2A47;
    background-color: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s;
    -moz-appearance: textfield;
    outline: none;
}

.calc-input:focus {
    border-color: #C8A96B;
    box-shadow: 0 0 0 3px rgba(200, 169, 107, 0.15);
    background-color: #fff;
}

.calc-input::-webkit-inner-spin-button,
.calc-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

select.calc-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.calc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #0E2A47;
    color: #C8A96B;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.calc-btn:hover {
    background-color: #1a3d5e;
    box-shadow: 0 4px 15px rgba(14, 42, 71, 0.3);
    transform: translateY(-1px);
}

.calc-btn:active {
    transform: translateY(0);
}

/* =================== Accordion =================== */
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-body {
    max-height: 500px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-header {
    background-color: #fff;
}

/* =================== Reveal Animation =================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =================== Scroll to Top =================== */
#scroll-top {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}

#scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}