:root {
    --charcoal: #3E4A52;
    --sky-blue: #A3C9D8;
    --warm-pebble: #D8C3A5;
    --clean-linen: #F9F7F0;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: var(--charcoal);
    background-color: var(--clean-linen);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'EB Garamond', serif;
    font-weight: bold;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 56px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 2rem;
}

h3 {
    font-size: 28px;
    line-height: 1.4;
}

h4 {
    font-size: 22px;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.navbar {
    background-color: var(--clean-linen);
    padding: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(62, 74, 82, 0.08);
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Georgia', serif;
    font-size: 28px;
    font-weight: bold;
    color: var(--charcoal) !important;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: var(--charcoal) !important;
    margin-left: 2rem;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--sky-blue) !important;
}

.navbar-nav .nav-link.active {
    color: var(--sky-blue) !important;
    border-bottom: 2px solid var(--sky-blue);
}

.navbar-container {
    max-width: 1780px;
    margin: 0 auto;
    padding: 0 2rem;
}

main {
    margin-top: 80px;
}

.container-wide {
    max-width: 1580px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    margin-top: -80px;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(62, 74, 82, 0.5), rgba(163, 201, 216, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
    animation: fadeIn 1s ease-in-out;
}

.hero-content h1 {
    color: var(--white);
    font-size: 62px;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(62, 74, 82, 0.3);
}

.hero-subhead {
    color: var(--white);
    font-size: 24px;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(62, 74, 82, 0.3);
}

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

.content-section {
    padding: 180px 0;
    background-color: var(--clean-linen);
}

.content-section h2 {
    animation: slideIn 0.8s ease-out forwards;
    opacity: 0;
}

.content-section:nth-child(even) {
    background: linear-gradient(180deg, var(--clean-linen) 0%, rgba(163, 201, 216, 0.08) 100%);
}

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

.image-section {
    padding: 220px 0;
}

.image-section .row {
    align-items: center;
    gap: 4rem;
}

.image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(62, 74, 82, 0.12);
    animation: scaleIn 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.blog-grid-section {
    padding: 220px 0;
    background: linear-gradient(180deg, rgba(163, 201, 216, 0.08) 0%, var(--clean-linen) 100%);
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(62, 74, 82, 0.08);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 32px rgba(62, 74, 82, 0.16);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-card h3 {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    font-size: 20px;
    color: var(--charcoal);
    transition: color 0.3s ease;
    margin-bottom: 0.5rem;
}

.blog-card:hover h3 {
    color: var(--sky-blue);
}

.blog-card p {
    padding: 0 1.5rem;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-link {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--sky-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
}

.btn-link:hover {
    color: var(--charcoal);
    text-decoration: underline;
}

.faq-section {
    padding: 220px 0;
}

.accordion {
    border: none;
    margin-top: 2rem;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid rgba(62, 74, 82, 0.15);
    margin-bottom: 1rem;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 0;
}

.accordion-button {
    background-color: transparent;
    border: none;
    color: var(--charcoal);
    font-size: 18px;
    font-weight: 500;
    padding: 1.5rem 0;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: none;
}

.accordion-button:hover {
    color: var(--sky-blue);
}

.accordion-button:not(.collapsed) {
    color: var(--sky-blue);
    background-color: transparent;
    box-shadow: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%233E4A52' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-size: 1.25rem;
}

.accordion-body {
    padding: 0 0 2rem 0;
    border: none;
    background-color: transparent;
    color: var(--charcoal);
    line-height: 1.8;
    font-size: 16px;
}

.final-cta-section {
    padding: 180px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(163, 201, 216, 0.12) 0%, rgba(216, 195, 165, 0.08) 100%);
}

.final-cta-section h2 {
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--charcoal);
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--charcoal);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--charcoal);
    border-color: var(--charcoal);
}

.disclaimer-section {
    padding: 140px 0;
    background-color: rgba(163, 201, 216, 0.08);
}

.disclaimer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 24px;
}

.disclaimer-section p {
    font-size: 16px;
    line-height: 1.8;
}

.site-footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 80px 0 40px 0;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    max-width: 1580px;
    margin: 0 auto;
    padding: 0 2rem 3rem 2rem;
}

.footer-section h4 {
    color: var(--sky-blue);
    font-size: 18px;
    margin-bottom: 1rem;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--sky-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 1580px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 2rem;
    box-shadow: 0 -4px 16px rgba(62, 74, 82, 0.12);
    z-index: 999;
    display: none;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    max-width: 1580px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cookie-content h4 {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.cookie-content p {
    font-size: 14px;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-accept, .btn-reject, .btn-learn {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-accept {
    background-color: var(--sky-blue);
    color: var(--charcoal);
    font-weight: 500;
}

.btn-accept:hover {
    background-color: var(--charcoal);
    color: var(--white);
}

.btn-reject {
    background-color: transparent;
    color: var(--charcoal);
    border: 1px solid var(--charcoal);
    font-weight: 500;
}

.btn-reject:hover {
    background-color: var(--charcoal);
    color: var(--white);
}

.btn-learn {
    color: var(--sky-blue);
    text-decoration: underline;
}

.btn-learn:hover {
    color: var(--charcoal);
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    html, body {
        font-size: 16px;
    }

    .hero-section {
        height: 60vh;
        padding-top: 60px;
        margin-top: -60px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-subhead {
        font-size: 18px;
    }

    .content-section, .image-section {
        padding: 100px 0;
    }

    .image-section .row {
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .cookie-content {
        padding: 0;
    }

    .cookie-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-accept, .btn-reject, .btn-learn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    .container-wide {
        padding: 0 1rem;
    }

    .navbar-container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .content-section, .image-section {
        padding: 60px 0;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-bottom {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.col-lg-6 {
    margin-bottom: 2rem;
}

.img-fluid {
    max-height: 400px;
    object-fit: cover;
}
