/* Custom styles */
body {
    margin: 0;
    background: linear-gradient(135deg, #2d4a22 0%, #3a5a2e 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    padding-top: 58px; /* Prevent content from being hidden under nav */
    overscroll-behavior-y: none;
}

.hero-section {
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 0;
}

.title {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 4rem;
    font-weight: 500;
    letter-spacing: 4px;
    margin-top: 2rem;
    line-height: 1.2;
}

.subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: 1rem;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
}

.subtitle-line {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.animated-word {
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    position: relative;
    display: inline-block;
    min-width: 120px;
    text-align: center;
    transition: opacity 0.3s ease;
    font-size: 1.4rem;
    letter-spacing: 1px;
    opacity: 1;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: lowercase;
    font-weight: 300;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50% { transform: translateY(-10px) translateX(-50%); }
}

/* Profile styles */
.profile {
    text-align: center;
}

.profile-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation: float 6s ease-in-out infinite;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About section styles */
.about-section {
    padding: 60px 0;
    background: transparent;
    position: relative;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    text-align: center;
    color: #2d4a22;
    position: relative;
    padding-bottom: 1rem;
    background: linear-gradient(45deg, #2d4a22 0%, #3a5a2e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.about-content h2::after {
    display: none !important;
    content: none !important;
}

.about-content h2 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.about-content h2:hover::after {
    width: 120px;
    transition: width 0.3s ease;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #3a5a2e;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Social links styles */
.social-links {
    padding: 60px 0;
    background: transparent;
}

.links-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 20px;
}

.social-link {
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link i {
    font-size: 1.5rem;
}

.social-link.youtube {
    background: linear-gradient(45deg, #2d4a22 0%, #3a5a2e 100%);
    color: white;
    border: none;
}

.social-link.instagram {
    background: linear-gradient(45deg, #2d4a22 0%, #3a5a2e 100%);
    color: white;
    border: none;
}

.social-link.venmo {
    background: linear-gradient(45deg, #2d4a22 0%, #3a5a2e 100%);
    color: white;
    border: none;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Ambassador section styles */
.ambassador-section {
    padding: 60px 0;
    background: white;
    position: relative;
    border-top: 1px solid #eee;
}

.ambassador-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.ambassador-logo {
    max-width: 200px;
    margin: 0 auto 2rem;
}

.ronbus-logo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.ronbus-logo:hover {
    transform: scale(1.05);
}

.ambassador-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #2d4a22;
}

.ambassador-content p {
    font-size: 1.2rem;
    color: #3a5a2e;
    line-height: 1.6;
}

.promo-code {
    font-weight: 600;
    color: #2d4a22;
    padding: 0.2em 0.5em;
    background: #f5f5f5;
    border-radius: 4px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.promo-code:hover {
    background: #e9e9e9;
    transform: translateY(-1px);
}

.ronbus-link {
    color: #2d4a22;
    text-decoration: none;
    border-bottom: 2px solid #2d4a22;
    transition: opacity 0.3s;
}

.ronbus-link:hover {
    opacity: 0.7;
}

/* Video section styles */
.video-section {
    padding: 60px 0;
    background: transparent;
    position: relative;
}

.video-section h2 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    text-align: center;
    color: #2d4a22;
    position: relative;
    padding-bottom: 1rem;
    background: linear-gradient(45deg, #2d4a22 0%, #3a5a2e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.video-section h2::after {
    display: none !important;
    content: none !important;
}

.video-section h2 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.video-section h2:hover::after {
    width: 120px;
    transition: width 0.3s ease;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Footer styles */
.footer {
    background: linear-gradient(135deg, #2d4a22 0%, #3a5a2e 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 40px 0;
    position: relative;
}

.footer .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.site-credit {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.25);
    margin-top: 0.2rem;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin-top: 0.8rem;
    }
    
    .animated-word {
        min-width: 100px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-section {
        padding: 40px 0;
    }
    
    .social-link {
        padding: 20px;
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .social-link i {
        font-size: 1.3rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .social-link {
        padding: 20px;
        font-size: 1.1rem;
    }
    
    .about-content h2,
    .video-section h2 {
        font-size: 2.4rem;
    }
} 

/* Add smooth scrolling to the whole page */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 58px;
}

/* Add hover effect to videos */
.video-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Add gradient overlay to hero section */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0) 0%, rgba(45, 74, 34, 0.6) 100%);
    z-index: -1;
}

/* Add floating animation to profile photo */
.profile-photo {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Add section transitions with background patterns */
.section-divider {
    height: 100px;
    background-image: linear-gradient(45deg, #f8f8f8 25%, transparent 25%), 
                      linear-gradient(-45deg, #f8f8f8 25%, transparent 25%);
    background-size: 20px 20px;
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

/* Add hover effect to Ronbus logo */
.ronbus-logo {
    transition: transform 0.3s ease;
}

.ronbus-logo:hover {
    transform: scale(1.05);
}

/* Add hover effect to promo code */
.promo-code {
    transition: all 0.3s ease;
    cursor: pointer;
}

.promo-code:hover {
    background: #e9e9e9;
    transform: translateY(-1px);
}

/* Style for copy message */
.copy-message {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
    opacity: 0.7;
    background: linear-gradient(45deg, #666 0%, #888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.promo-code {
    position: relative;
    cursor: pointer;
}

.promo-code:active {
    transform: translateY(1px);
}

/* Add subtle gradients to sections */
.about-section {
    background: transparent;
    position: relative;
}

.video-section {
    background: transparent;
    position: relative;
}

.ambassador-section {
    background: white;
    position: relative;
}

/* Update heading underlines with more vibrant gradients */
.about-content h2::after,
.video-section h2::after,
.blog-section h2::after,
.booking-info h2::after,
.testimonials-section h2::after {
    display: none !important;
    content: none !important;
}

/* Add gradient border to video containers */
.video-container {
    position: relative;
}

.video-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(17, 17, 17, 0.1) 0%, rgba(42, 42, 42, 0.1) 100%);
    border-radius: 10px;
    z-index: -1;
}

/* Add subtle gradient overlay to social buttons on hover */
.social-link.youtube:hover {
    background: linear-gradient(45deg, #2d4a22 0%, #3a5a2e 100%);
}

/* Instagram already has a gradient */

/* Update copy message with gradient text */
.copy-message {
    background: linear-gradient(45deg, #666 0%, #888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Add Venmo button style */
.social-link.venmo {
    background: linear-gradient(45deg, #2d4a22 0%, #3a5a2e 100%);
    color: white;
    border: none;
}

.social-link.venmo:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.venmo-icon {
    width: 24px;
    height: 24px;
    margin-right: 4px;
    /* Remove the filter since the image is already white */
}

/* Update Venmo button style */
.social-link.venmo {
    background: linear-gradient(45deg, #2d4a22 0%, #3a5a2e 100%);
    color: white;
    border: none;
}

/* Booking Info Section Styles */
.booking-info {
    padding: 60px 0;
    background: transparent;
}

.booking-info h2 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    text-align: center;
    color: #2d4a22;
    position: relative;
    padding-bottom: 1rem;
    background: linear-gradient(45deg, #2d4a22 0%, #3a5a2e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.booking-info h2::after {
    display: none !important;
    content: none !important;
}

.booking-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.booking-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #3a5a2e;
    margin-bottom: 3rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    padding: 2rem;
    border-radius: 12px;
    background: #f8f8f8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-item i {
    font-size: 2rem;
    color: #2d4a22;
    margin-bottom: 1rem;
}

.contact-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #2d4a22;
}

.contact-item a {
    color: #3a5a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #2d4a22;
}

.lesson-types {
    margin-top: 3rem;
    padding: 2rem;
    border-radius: 12px;
    background: #f8f8f8;
}

.lesson-types h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #2d4a22;
}

.lesson-types ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lesson-types li {
    font-size: 1.1rem;
    color: #3a5a2e;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .booking-info h2 {
        font-size: 2.4rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .booking-intro {
        font-size: 1.1rem;
    }
} 

/* Update mobile styles for social links */
@media (max-width: 768px) {
    .links-grid {
        padding: 0 20px;  /* Add padding to the grid container */
    }
    
    .social-link {
        padding: 16px;  /* Reduce padding of buttons */
        font-size: 1.1rem;
        max-width: 100%;
        margin: 0 15px;  /* Add margin to keep buttons away from edges */
    }
} 

/* Utility background classes */
.grey-bg {
    background: #f4f4f4 !important;
}
.white-bg {
    background: #fff !important;
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: 60px 0;
    background: #f4f4f4;
    position: relative;
}

.testimonials-section h2 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    text-align: center;
    color: #2d4a22;
    position: relative;
    padding-bottom: 1rem;
    background: linear-gradient(45deg, #2d4a22 0%, #3a5a2e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.testimonials-section h2::after {
    display: none !important;
    content: none !important;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: none;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 12px;
    margin-right: 12px;
    min-height: 320px;
    justify-content: center;
}
@media (min-width: 700px) {
    .testimonial-card {
        padding: 2rem;
        margin-left: 0;
        margin-right: 0;
        min-height: 320px;
    }
}
.testimonial-quote {
    font-size: 1.15rem;
    color: #3a5a2e;
    font-style: italic;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.testimonial-name {
    font-size: 1rem;
    color: #008CFF;
    font-weight: 600;
    margin-top: auto;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.3rem 1rem;
    }
    .testimonial-quote {
        font-size: 1rem;
    }
}

/* Testimonial Slider Styles */
.testimonial-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.testimonial-arrow {
    background: radial-gradient(circle at 60% 40%, #eaf6ff 60%, #cce6ff 100%);
    border: 2px solid #008CFF;
    color: #008CFF;
    font-size: 2.4rem;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    box-shadow: 0 4px 16px rgba(0,140,255,0.08), 0 1.5px 6px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s, border 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    position: relative;
    z-index: 3;
}
.testimonial-arrow:hover, .testimonial-arrow:focus {
    background: radial-gradient(circle at 60% 40%, #008CFF 70%, #005fa3 100%);
    color: #fff;
    border-color: #005fa3;
    box-shadow: 0 0 0 4px rgba(0,140,255,0.15), 0 4px 16px rgba(0,140,255,0.13);
}
.testimonial-arrow:active {
    transform: scale(0.93);
}
.testimonial-arrow:focus {
    outline: 2px solid #005fa3;
    outline-offset: 2px;
}
@media (max-width: 768px) {
    .testimonial-arrow {
        font-size: 1.7rem;
        width: 40px;
        height: 40px;
    }
}

.testimonial-card-stack {
    flex: 1 1 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    position: relative;
}

.testimonial-card-stack .testimonial-card {
    width: 100%;
    max-width: 520px;
    min-height: 180px;
    margin: 0;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1;
}
.testimonial-card-stack .testimonial-card[style*="display:none"] {
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}
.testimonial-card-stack .testimonial-card:not([style*="display:none"]) {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    z-index: 2;
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .testimonial-slider {
        gap: 0.5rem;
        max-width: 98vw;
    }
    .testimonial-card-stack .testimonial-card {
        max-width: 98vw;
        min-height: 120px;
        padding: 1rem 0.5rem;
    }
}

/* New Testimonial Carousel Styles */
.testimonial-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    position: relative;
    margin: 0 auto;
    max-width: 420px;
}
.testimonial-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 320px;
    position: relative;
    margin-bottom: 2.2rem;
    border: 1px solid #ececec;
}
.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 2px solid #ececec;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.testimonial-quote {
    font-size: 1.15rem;
    color: #3a5a2e;
    font-style: italic;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}
.testimonial-quote:before {
    content: open-quote;
    font-size: 2.2rem;
    color: #d3d3d3;
    position: absolute;
    left: -0.7em;
    top: -0.5em;
}
.testimonial-quote:after {
    content: close-quote;
    font-size: 2.2rem;
    color: #d3d3d3;
    position: absolute;
    right: -0.7em;
    bottom: -0.5em;
}
.testimonial-name {
    font-size: 1.05rem;
    color: #888;
    font-weight: 600;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 0.5rem;
}
.testimonial-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #e0e0e0;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    padding: 0;
}
.testimonial-dot.active, .testimonial-dot:focus {
    background: #b0b0b0;
    transform: scale(1.18);
}
.testimonial-dot:hover {
    background: #bdbdbd;
}
@media (max-width: 600px) {
    .testimonial-carousel {
        max-width: 98vw;
    }
    .testimonial-card {
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
        min-height: 220px;
    }
    .testimonial-avatar {
        width: 54px;
        height: 54px;
    }
    .testimonial-quote {
        font-size: 1rem;
    }
}

/* Testimonial Multi-Grid Styles */
.testimonial-multigrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    align-items: stretch;
    padding-left: 8px;
    padding-right: 8px;
}
@media (min-width: 700px) {
    .testimonial-multigrid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        max-width: 1100px;
        padding-left: 0;
        padding-right: 0;
    }
}
.testimonial-card {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: none;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 12px;
    margin-right: 12px;
}
@media (min-width: 700px) {
    .testimonial-card {
        padding: 2rem;
        margin-left: 0;
        margin-right: 0;
    }
}
.testimonial-quote {
    font-size: 1.15rem;
    color: #3a5a2e;
    font-style: italic;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}
.testimonial-name {
    font-size: 1rem;
    color: #888;
    font-weight: 600;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}
.testimonial-multigrid-nav {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.5rem;
}
.testimonial-multigrid-arrow {
    background: #f3f3f3;
    border: 1px solid #d6d6d6;
    color: #888;
    font-size: 2rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s, border 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}
.testimonial-multigrid-arrow:hover, .testimonial-multigrid-arrow:focus {
    background: #e0e0e0;
    color: #444;
    border-color: #bdbdbd;
    transform: scale(1.08);
}
.testimonial-multigrid-arrow:active {
    transform: scale(0.93);
}
@media (max-width: 900px) {
    .testimonial-multigrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}
@media (max-width: 600px) {
    .testimonial-multigrid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-left: 8px;
        padding-right: 8px;
    }
    .testimonial-card {
        padding: 1.2rem 0.7rem;
    }
    .testimonial-multigrid-arrow {
        font-size: 1.3rem;
        width: 34px;
        height: 34px;
    }
}

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

/* Top Navigation Bar Styles */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(45, 74, 34, 0.97);
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 0;
    height: 58px;
    display: flex;
    align-items: center;
}
.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    height: 58px;
}
.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-bottom 0.2s;
    position: relative;
}
.nav-link:hover, .nav-link:focus {
    color: #f4f4f4;
    border-bottom: 2px solid #f4f4f4;
}
@media (max-width: 700px) {
    .nav-container {
        gap: 1.1rem;
    }
    .nav-link {
        font-size: 0.98rem;
        padding: 6px 0;
    }
    .top-nav {
        height: 46px;
    }
}

/* Offset for anchor links so content isn't hidden behind nav */
section[id], footer[id] {
    scroll-margin-top: 64px;
}
@media (max-width: 700px) {
    section[id], footer[id] {
        scroll-margin-top: 52px;
    }
}

@media (max-width: 700px) {
    body {
        padding-top: 46px;
    }
}

/* Blog section styles */
.blog-section {
    padding: 60px 0;
    background: transparent;
    position: relative;
}

.blog-section h2 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    text-align: center;
    color: #2d4a22;
    position: relative;
    padding-bottom: 1rem;
    background: linear-gradient(45deg, #2d4a22 0%, #3a5a2e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.blog-section h2::after {
    display: none !important;
    content: none !important;
}

.blog-section h2:hover::after {
    width: 120px;
    transition: width 0.3s ease;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-card {
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d4a22;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card-excerpt {
    color: #3a5a2e;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
    margin-top: auto;
}

.blog-card-date {
    font-weight: 500;
}

.blog-card-read-time {
    opacity: 0.8;
}

/* No posts and error states */
.no-posts, .error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.no-posts h3, .error h3 {
    color: #2d4a22;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.no-posts p, .error p {
    color: #3a5a2e;
    font-size: 1rem;
}

/* Responsive adjustments for blog section */
@media (max-width: 768px) {
    .blog-section h2 {
        font-size: 2.4rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card-content {
        padding: 1.2rem;
    }
    
    .blog-card-title {
        font-size: 1.2rem;
    }
}

/* Blog post page styles */
.blog-post-main {
    padding: 50px 0 10px;
    background: white;
    min-height: calc(100vh - 200px);
}

.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.post-header {
    text-align: left !important;
    margin-bottom: 2.2rem;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2d4a22;
    margin-bottom: 0.2rem;
    line-height: 1.3;
    text-align: left !important;
}

.post-meta {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.7rem !important;
    font-size: 1rem;
    color: #3a5a2e;
    margin-bottom: 0.5rem;
    margin-top: 0;
    justify-content: flex-start !important;
}

.post-date, .post-read-time {
    display: inline !important;
    text-align: left !important;
    font-size: 1rem;
    color: #3a5a2e;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #3a5a2e;
}

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
    color: #2d4a22;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-body h1 {
    font-size: 2rem;
}

.post-body h2 {
    font-size: 1.8rem;
}

.post-body h3 {
    font-size: 1.5rem;
}

.post-body p {
    margin-bottom: 1.5rem;
}

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

.post-body li {
    margin-bottom: 0.5rem;
}

.post-body blockquote {
    border-left: 4px solid #2d4a22;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #3a5a2e;
}

.post-body code {
    background: #f4f4f4;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.post-body pre {
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-body pre code {
    background: none;
    padding: 0;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.post-body a {
    color: #2d4a22;
    text-decoration: underline;
}

.post-body a:hover {
    color: #3a5a2e;
}

/* Enhanced error handling styles */
.error-message {
    text-align: center;
    padding: 3rem 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.error-message h2 {
    color: #2d4a22;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.error-message p {
    color: #3a5a2e;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.back-link {
    display: inline-block;
    color: #2d4a22;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid #2d4a22;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #2d4a22;
    color: white;
}

/* Blog card enhancements */
.blog-card {
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d4a22;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card-excerpt {
    color: #3a5a2e;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
    margin-top: auto;
}

.blog-card-date {
    font-weight: 500;
}

.blog-card-read-time {
    opacity: 0.8;
}

/* No posts and error states */
.no-posts, .error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.no-posts h3, .error h3 {
    color: #2d4a22;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.no-posts p, .error p {
    color: #3a5a2e;
    font-size: 1rem;
}

.home-link {
    display: inline-block;
    margin: 2rem 0 1.5rem 0;
    font-size: 1.08rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: #fff;
    background: #2d4a22;
    padding: 8px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.home-link:hover, .home-link:focus {
    background: #3a5a2e;
    color: #fff;
}

html, body {
    scroll-padding-top: 58px;
    background: linear-gradient(135deg, #2d4a22 0%, #3a5a2e 100%);
    overscroll-behavior-y: contain;
}

body {
    padding-top: 0 !important;
}

/* Responsive adjustments for blog post */
@media (max-width: 768px) {
    .blog-post-main {
        padding: 100px 0 40px;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-body {
        font-size: 1rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Blog pagination controls */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    margin: 2rem 0 0 0;
}
.pagination-btn {
    background: #2d4a22;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.pagination-btn:disabled {
    background: #b7c2b0;
    color: #f4f4f4;
    cursor: not-allowed;
}
.pagination-btn:not(:disabled):hover {
    background: #3a5a2e;
}
.pagination-info {
    color: #2d4a22;
    font-size: 1rem;
    font-weight: 500;
}

/* Remove .footer-social .social-link and related icon styles, keep .footer-social layout */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 18px;
}
@media (max-width: 600px) {
    .footer-social {
        flex-direction: column;
        gap: 10px;
    }
}