/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&family=Caveat:wght@500;600&display=swap');

:root {
    --primary-green: #5E8A2A;
    --primary-dark: #41621D;
    --primary-light: #75A33D;
    --background-dark: #F8F0E3;
    --background-darker: #EFE5D4;
    --background-light: #FFFFFF;
    --text-dark: #2D2D2D;
    --text-light: #2D2D2D;
    --text-muted: #505050;
    --off-white: #F9F9F9;
    --off-white-text: #2D2D2D;

    --accent-brown: #E8D9C5;

    --input-fill-light: #FFFFFF;
    --input-fill-dark: #F5F5F5;
    
    /* Typography */
    --heading-font: 'Quicksand', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    --accent-font: 'Caveat', cursive;
}

* {
    transition: all 0.3s ease;
}

body {
    font-family: var(--body-font);
    color: var(--text-dark);
    background-color: var(--background-dark);
    line-height: 1.6;
}

.hero:not(.category-hero):not(.blog-hero) {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(to right, 
        rgba(248, 240, 227, 1) 0%, 
        rgba(248, 240, 227, 0.9) 30%, 
        rgba(248, 240, 227, 0.8) 50%, 
        rgba(167, 207, 104, 0.1) 100%
    );
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero:not(.category-hero):not(.blog-hero)::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(
        circle at 70% 50%, 
        rgba(167, 207, 104, 0.3) 0%, 
        rgba(167, 207, 104, 0.05) 50%, 
        transparent 70%
    );
    transform: translateX(-50%);
    z-index: 1;
}

.hero-overlay {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.hero-right {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-container {
    position: relative;
    width: 300px;
    height: 600px;
    z-index: 1;
}

.hero-image {
    position: relative;
    z-index: 1;
    max-width: 110%;
    transform: scale(1.1);
    height: auto;
}

.floating-categories {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.floating-icon {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--off-white);
    border: 1px solid var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.floating-icon i {
    color: var(--primary-dark);
    font-size: 1rem;
}

.floating-icon:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.floating-icon:hover i {
    color: white;
}

.floating-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    background: var(--background-light);
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid var(--primary-light);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.floating-icon:hover::after {
    opacity: 1;
    visibility: visible;
}

.hero-title {
    font-family: var(--heading-font);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-family: var(--body-font);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-dark);
    margin-bottom: 0;
}

.timeline-date {
    position: absolute;
    width: 130px;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.2;
}

.hero-features {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-app {
    position: relative;
}

.app-mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-app-mockup {
    max-height: 500px;
    transform: perspective(1000px) rotateY(-15deg) translateZ(0);
    transition: all 0.5s ease;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    z-index: 2;
}

.hero-app-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) translateY(-10px) translateZ(0);
}

.mockup-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 3;
}

.badge-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
}

.feature-card {
    background-color: var(--background-light);
    border-radius: 20px;
    border: 1px solid rgba(167, 207, 104, 0.2);
    box-shadow: 
        0 10px 20px rgba(0,0,0,0.04), 
        0 6px 10px rgba(0,0,0,0.02),
        inset 0 2px 4px rgba(255,255,255,0.8);
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    color: var(--text-dark);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 12px 24px rgba(0,0,0,0.08), 
        0 6px 12px rgba(0,0,0,0.05),
        inset 0 3px 6px rgba(255,255,255,0.9);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center, 
        rgba(167, 207, 104, 0.1) 0%, 
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none; /* do not block clicks inside card */
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card h3 {
    font-family: var(--heading-font);
    color: var(--text-dark);
    transition: color 0.3s ease;
    font-weight: 600;
}

.feature-card:hover h3 {
    color: var(--primary-light);
}

.feature-card p {
    font-family: var(--body-font);
    color: var(--text-dark);
    line-height: 1.6;
}

.feature-icon {
    font-family: var(--accent-font);
    font-size: 3.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background-color: var(--background-light);
    border-radius: 20px;
    border: 1px solid rgba(167, 207, 104, 0.2);
    box-shadow: 
        0 10px 20px rgba(0,0,0,0.04), 
        0 6px 10px rgba(0,0,0,0.02),
        inset 0 2px 4px rgba(255,255,255,0.8);
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    color: var(--text-dark);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 12px 24px rgba(0,0,0,0.08), 
        0 6px 12px rgba(0,0,0,0.05),
        inset 0 3px 6px rgba(255,255,255,0.9);
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center, 
        rgba(167, 207, 104, 0.1) 0%, 
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none; /* do not block clicks inside card */
}

.card:hover::before {
    opacity: 1;
}

.card h5 {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.card:hover h5 {
    color: var(--primary-light);
}

.card p {
    color: var(--text-muted);
}

.card-img-wrapper {
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .card-img-wrapper {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .card-img-wrapper {
        height: 210px;
    }
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-img-wrapper img:hover {
    transform: scale(1.05);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-img-top {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.custom-dark-card {
    background-color: var(--background-light);
    border-radius: 0.375rem;
    padding: 1.5rem;
    color: var(--text-dark);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
    border: 1px solid rgba(167, 207, 104, 0.3);
}

.custom-dark-card input.form-control {
    background-color: var(--input-fill-light);
    color: var(--text-dark);
    border: 1px solid rgba(167, 207, 104, 0.2);
    transition: border-color 0.2s ease;
}

.custom-dark-card input.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(167, 207, 104, 0.15);
    background-color: var(--input-fill-light);
}

.custom-dark-card .form-check-input {
    width: 1.5em;
    height: 1.5em;
    background-color: var(--input-fill-dark);
    border: 1px solid var(--primary-light);
    opacity: 0.8;
    margin-right: 0.75rem;
}

.custom-dark-card .form-check-label {
    display: flex;
    align-items: center;
    padding-top: 0.1rem;
}

.custom-dark-card .form-check-input:checked {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn {
    border-radius: 16px;
    font-family: var(--heading-font);
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px 24px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.btn-primary:hover {
    background-color: var(--text-dark);
    border-color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Countdown timer styling */
#countdown-timer {
    color: #FFFFFF;
    font-weight: 600;
    font-family: var(--heading-font);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Section title styling with watercolor underline effect */
h2.section-title, .section-title {
    font-family: var(--heading-font);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    z-index: 1;
}

h2.section-title::after, .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, 
        rgba(117, 163, 61, 0.6) 0%, 
        rgba(117, 163, 61, 0.2) 100%);
    border-radius: 4px;
    z-index: -1;
}

.bg-primary {
    background-color: var(--primary-dark) !important;
}

.form-control {
    color: var(--text-dark);
    background-color: var(--input-fill-light);
    border: 1px solid rgba(167, 207, 104, 0.3);
    border-radius: 10px;
    padding: 12px;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    color: var(--text-dark);
    background-color: var(--input-fill-light);
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(167, 207, 104, 0.25);
}

section {
    position: relative;
    padding: 100px 0;
    background-color: var(--background-dark);
    overflow: hidden;
}

.section-header {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--text-light);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 3px;
    bottom: -10px;
    left: 15%;
    background-color: var(--primary-green);
    border-radius: 2px;
}

.lead {
    color: var(--text-muted);
    font-weight: 300;
}

#app-preview img {
    border-radius: 16px;
    box-shadow: 
        0 16px 32px rgba(0,0,0,0.4), 
        0 8px 16px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#app-preview img:hover {
    transform: scale(1.02);
    box-shadow: 
        0 24px 48px rgba(0,0,0,0.5), 
        0 12px 24px rgba(0,0,0,0.3);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--background-dark) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background-color: var(--background-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cta-nav-item .nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    border: 1px solid var(--primary-light);
    color: var(--primary-light);
    transition: all 0.3s ease;
}

.navbar .cta-nav-item .nav-link {
    background-color: transparent;
}

.navbar.scrolled .cta-nav-item .nav-link {
    background-color: var(--primary-green);
    color: white !important;
    border: 1px solid var(--primary-green);
}

.navbar.scrolled .cta-nav-item .nav-link:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: scale(1.05);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 500;
    padding: 1rem 1.5rem;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary-green);
}

.navbar-dark {
    background-color: var(--background-dark) !important;
}

.navbar-dark .navbar-brand {
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.navbar-dark .navbar-brand img {
    margin-right: 10px;
}

.navbar-dark .navbar-brand span {
    color: var(--text-light);
    font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-muted) !important;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--text-light) !important;
}

/* Logo Styling */
.navbar-brand img,
.footer-logo {
    border-radius: 10px; /* Rounded corners like an app icon */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow */
}

/* Timeline Styles */
.timeline-section {
    position: relative;
    padding: 60px 0;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--primary-green);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    margin: 100px 0;
    width: 50%;
    padding-right: 50px;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 50px;
}

.timeline-cont.feature-card {
    padding: 1.5rem;
    border-radius: 18px;
    background-color: var(--background-light);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04), 0 4px 8px rgba(0,0,0,0.02);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    color: var(--text-dark);
    border: 1px solid rgba(117, 163, 61, 0.1);
}

.timeline-content {
    position: relative;
    padding: 24px;
    background: var(--background-light);
    border-radius: 18px;
    border: 1px solid rgba(167, 207, 104, 0.2);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.timeline-content .timeline-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 8px;
    margin: -20px -20px 15px -20px;
    width: calc(100% + 40px);
    max-width: none;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-point {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    top: 25px;
    z-index: 1;
}

.timeline-date {
    position: absolute;
    top: 50%;
    font-weight: bold;
    color: var(--text-light);
    transform: translateY(-50%);
    font-size: 0.9em;
    white-space: nowrap;
    z-index: 3;
}

.timeline-item:nth-child(odd) .timeline-point {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-point {
    left: -10px;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -150px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -150px;
}

.timeline-item.current .timeline-point {
    background: var(--primary-light);
    border-color: var(--primary-light);
    box-shadow: 0 0 15px var(--primary-light);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(152, 197, 95, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(152, 197, 95, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(152, 197, 95, 0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(152, 197, 95, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(152, 197, 95, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(152, 197, 95, 0);
    }
}

.timeline-item.future .timeline-content {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
        margin: 50px 0;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 70px;
    }
    
    .timeline-point {
        left: 20px !important;
    }
    
    .timeline-date {
        left: 60px !important;
        top: -35px !important;
        transform: none !important;
        font-size: 0.85em;
    }

    .timeline-content {
        margin-top: 25px;
    }
}

.navbar-dark .navbar-toggler {
    border-color: rgba(255,255,255,0.1);
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

footer {
    background-color: var(--accent-brown) !important;
    padding: 2rem 0;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

a:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-light);
}

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

@media (max-width: 991px) {
    .hero {
        padding: 60px 0;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features .feature-item {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .hero-features .feature-item i {
        font-size: 2rem;
        color: var(--primary-green);
        width: 40px;
        text-align: center;
    }

    .hero-app-mockup {
        max-height: 400px;
        transform: none;
    }

    .hero-app-mockup:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-app-mockup {
        max-height: 350px;
        transform: none;
        margin-top: 30px;
    }
}

/* Alternating section backgrounds - watercolor theme */
.bg-darker {
    background-color: var(--background-darker);
}

/* Ensure text remains visible */
.bg-darker h2,
.bg-darker p {
    color: var(--text-dark);
}

.bg-darker .text-light-muted {
    color: var(--text-muted) !important;
}

/* Blog Post Content Styling */
.blog-post {
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
    color: var(--text-dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 2rem 1rem;
}

.blog-post h1,
.blog-post h2,
.blog-post h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-dark);
    font-weight: 600;
}

.blog-post h1 {
    font-size: 2.2rem;
    border-bottom: 1px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

.blog-post h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
}

.blog-post h3 {
    font-size: 1.4rem;
}

.blog-post p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.blog-post ul,
.blog-post ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-post ul li,
.blog-post ol li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.blog-post ul li::before {
    content: '•';
    color: var(--text-muted);
    position: absolute;
    margin-left: -1.2rem;
}

.blog-post a {
    color: var(--primary-green);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.blog-post a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.blog-post strong {
    font-weight: 600;
    color: var(--text-dark);
}

.blog-post blockquote {
    border-left: 3px solid var(--primary-light);
    padding-left: 1rem;
    font-style: italic;
    color: var(--text-muted);
    margin: 1.5rem 0;
}

.blog-post .cta {
    display: inline-block;
    background-color: var(--primary-green);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.blog-post .cta:hover {
    background-color: var(--primary-dark);
}

/* Partner Logos */
.partner-logo {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.partner-link {
    display: inline-block;
    text-align: center;
}

.partner-link:hover .partner-logo {
    transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-post {
        padding: 1rem;
        font-size: 16px;
    }

    .blog-post h1 {
        font-size: 1.8rem;
    }

    .blog-post h2 {
        font-size: 1.5rem;
    }

    .blog-post h3 {
        font-size: 1.2rem;
    }
    
    .partner-logo {
        height: 80px;
    }
    
    .partner-container {
        margin-top: 1.5rem;
    }
    
    .hero-features {
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Blog Hero Height Adjustments */
.blog-hero.category-hero {
    min-height: 50vh;
}

@media (max-width: 768px) {
    .blog-hero.category-hero {
        min-height: 60vh;
    }
}

/* Founders Section Styling */
.founders-story-section {
    background-color: var(--background-darker);
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.founders-image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.founders-image {
    transition: transform 0.5s ease;
}

.founders-image:hover {
    transform: scale(1.02);
}

.founders-content h3 {
    color: var(--primary-dark);
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.founders-content .lead {
    color: var(--text-dark);
    font-weight: 500;
}

.founders-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

.social-links {
    display: flex;
    align-items: center;
}

.social-icon {
    color: var(--primary-dark);
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-green);
    transform: translateY(-3px);
}

/* Vertical Timeline Styling */
.timeline-heading h3 {
    color: var(--primary-dark);
    font-family: var(--heading-font);
    font-weight: 700;
}

.vertical-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0 100px;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary-dark));
    transform: translateX(-50%);
    border-radius: 6px;
    z-index: 1;
    margin-top: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    opacity: 0.7;
    transition: all 0.5s ease;
    z-index: 2;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 500px;
}

.timeline-item:nth-child(odd) {
    margin-left: auto;
    margin-right: 0;
    padding-left: 50px;
}

.timeline-item:nth-child(even) {
    margin-right: auto;
    margin-left: 0;
    padding-right: 50px;
}

.timeline-item.visible {
    opacity: 1;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-light);
    border: 3px solid white;
    border-radius: 50%;
    left: 50%;
    top: 15px;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 0 0 5px rgba(94, 138, 42, 0.2);
}

.timeline-item:nth-child(odd) .timeline-dot {
    left: 0;
    transform: translateX(-50%);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: 100%;
    transform: translateX(-50%);
}

.timeline-item.current .timeline-dot {
    background-color: var(--primary-green);
    box-shadow: 0 0 0 8px rgba(94, 138, 42, 0.3);
}

.timeline-item.future .timeline-dot {
    background-color: var(--accent-brown);
}

.timeline-date {
    display: block;
    font-size: 0.85rem;
}

/* Theme Banner */
.theme-banner {
  background-color: var(--primary-dark);
  color: white;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.theme-banner p {
  margin: 0;
  flex-grow: 1;
}

.theme-banner button {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.5rem;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.theme-banner button:hover {
  opacity: 0.8;
}

.theme-banner.hidden {
    display: none;
}

.timeline-content h3 {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.timeline-content {
    position: relative;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h4 {
    color: var(--text-dark);
    font-family: var(--heading-font);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .vertical-timeline {
        padding-left: 10px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        max-width: 100%;
        padding-left: 40px !important;
        padding-right: 10px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .founders-section .row {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .founders-content {
        margin-top: 1.5rem;
    }
}

/* Footer Styling - Light Mode */
.footer {
    background-color: var(--background-darker);
    padding: 3rem 0;
    color: var(--text-dark);
}

.footer h4, .footer h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.footer p {
    color: var(--text-dark);
}

.footer .footer-brand p {
    color: var(--text-dark);
}

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

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

.footer a {
    color: var(--text-dark);
    text-decoration: underline;
    transition: color 0.3s ease;
}

a[href^="mailto"] {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: underline;
}

a[href^="mailto"]:hover {
    color: var(--text-dark);
}

.footer .fa-envelope {
    color: var(--primary-dark);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.footer .footer-social .social-icon {
    font-size: 1.8rem;
    margin: 0 15px;
    color: var(--primary-dark);
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer .footer-social .social-icon:hover {
    color: var(--text-dark);
    transform: scale(1.1);
}

.footer .footer-bottom {
    border-top: 1px solid var(--accent-brown); /* Light separator line */
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.footer .footer-bottom p {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.footer .footer-legal-links a {
    color: var(--text-dark);
    margin: 0 10px;
    font-size: 0.9rem;
}

.footer .footer-legal-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Ensure related-categories images fill their container */
.category-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 200px;
    margin: 0 auto 1rem;
    overflow: hidden;
}
.category-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specific override: show tall Werkzeug image entirely */
.category-img-wrapper img[src$="Werkzeug.webp"] {
    object-fit: contain;
    object-position: center center;
}
