:root {
    --primary: #E6264F;    /* Darker pink for better contrast */
    --primary-dark: #CC1F44;
    --secondary: #9C27B0;  /* Purple */
    --text: #333333;
    --background: #F9F5F6;
    --header-img: url('../img/cape-town-sunset-beach-yoga.webp');
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text);
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo svg {
    fill: #FFB845; /* Updated to golden/orange color */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo a:hover {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero backgrounds */
.hero {
    background: linear-gradient(
        rgba(0, 0, 0, 0.5), 
        rgba(0, 0, 0, 0.6)
    ),
    var(--header-img) center/cover;
}


/* Fallbacks for browsers that don't support WebP */
@supports not (background-image: var(--header-img)) {
   .hero {
        background: linear-gradient(
            rgba(0, 0, 0, 0.5), 
            rgba(0, 0, 0, 0.6)
        ),
        var(--header-img) center/cover;
    }
}


.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 1rem;
    margin-top: 0; /* Default margin */
}

body:has(.promo-banner) .hero {
    margin-top: 44px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    white-space: normal;
    width: 100%;
    overflow: visible;
    padding: 0 1rem;
}

.hero-description {
    margin: 1.5rem auto;  /* Changed from margin-top to margin with auto for horizontal centering */
    font-size: 1.1rem;
    max-width: 600px;
    text-align: center;  /* Added text-align: center */
}

.hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    padding: 0 1rem;
}

/* Countdown Styles */
.countdown {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    color: white;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.session-date {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.countdown-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.countdown-boxes {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.time-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 8px;
    min-width: 80px;
    box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.15);
}

.time {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* CTA Button / Gradient Button Styles */
.cta-button, .form-button, .save-ticket, .button.primary {
    /* Base button styles */
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    
    /* Gradient background */
    background: linear-gradient(to right, #ec4899, #dc2626);
    background: -webkit-linear-gradient(left, #ec4899, #dc2626);
    background: -moz-linear-gradient(left, #ec4899, #dc2626);
    background: -o-linear-gradient(left, #ec4899, #dc2626);
    
    /* Hover state transition */
    transition: all 0.2s ease;
}

.cta-button:hover, .form-button:hover, .save-ticket:hover, .button.primary:hover {
    background: linear-gradient(to right, #db2777, #b91c1c);
    background: -webkit-linear-gradient(left, #db2777, #b91c1c);
    background: -moz-linear-gradient(left, #db2777, #b91c1c);
    background: -o-linear-gradient(left, #db2777, #b91c1c);
}

/* For the arrow icon - if you're using one */
.cta-button svg, .form-button svg, .save-ticket svg, .button.primary svg {
    width: 16px;
    height: 16px;
}

/* Modal-specific button styles */
.modal .form-button,
.modal .cta-button,
.modal .save-ticket,
.modal .button.primary {
    width: 100%;
    display: flex;
}

/* Highlights Section */
.section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Details Section */
.details {
    background: var(--background);
    padding: 5rem 5%;
    text-align: center;
}

.details-content {
    max-width: 800px;
    margin: 0 auto;
}

.details h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.details-list {
    text-align: left;
    margin: 2rem 0;
    font-size: 1.1rem;
}

.details-list p {
    margin-bottom: 1rem;
}

.directions {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.directions h3 {
    margin-bottom: 1rem;
}

.directions p {
    margin-bottom: 0.75rem;
}

.directions a {
    color: inherit;
    text-decoration: underline;
}

.directions-map {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: white;
    padding: 3rem 5%;
    text-align: center;
}

footer h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Modal Base Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5vh auto;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Update promo banner modal adjustment */
body:has(.promo-banner) .modal-content {
    margin-top: calc(44px + 5vh);
}

/* When modal is open, prevent body scroll */
body.modal-open {
    overflow: hidden;
}

.promo-banner {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.promo-banner span:last-child {
    font-size: 0.9em;
    opacity: 0.9;
}

/* Add padding to sections that need it, except the hero */
section:not(.hero) {
    padding-top: 60px;
}

/* Update hero margin to only apply when promo banner exists */
.hero {
    margin-top: 0; /* Default margin */
}

/* Add margin only when promo banner is present */
body:has(.promo-banner) .hero {
    margin-top: 44px;
}

.form-divider {
    margin: 24px 0 16px;
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.form-divider span {
    display: block;
    font-weight: 500;
    font-size: 1.1em;
    margin-bottom: 4px;
}

.form-divider small {
    color: #666;
    font-size: 0.9em;
}

/* Promo pill styles */
.promo-pill {
    background: #E8F5E9;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.promo-icon {
    font-size: 18px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2E7D32;
}

.promo-text {
    display: flex;
    flex-direction: column;
}

.promo-text strong {
    font-size: 15px;
    font-weight: 500;
    color: #1B5E20;
    margin-bottom: 2px;
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.modal-close:hover {
    color: #000;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-button:hover {
    background-color: var(--primary-dark);
}

/* Payment Options */
.payment-option {
    margin-bottom: 1.5rem;
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    position: relative;  /* For positioning the radio circle */
}

.payment-option.selected {
    border-color: var(--primary);
    background-color: rgba(255, 51, 102, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-option:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Radio circle indicator */
.payment-option::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    transition: all 0.3s;
}

.payment-option.selected::after {
    border-color: var(--primary);
    background-color: var(--primary);
    box-shadow: inset 0 0 0 4px white;
}

/* Hide actual radio input */
.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

/* Rest of the styles remain the same */
.payment-option h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
    padding-right: 2.5rem;  /* Make room for radio circle */
    transition: color 0.3s;
}

.payment-option.selected h3 {
    color: var(--primary);
}

.payment-option .price {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0.5rem 0;
    transition: color 0.3s;
}

.payment-option.selected .price {
    color: var(--primary);
}

.payment-option .savings {
    color: #28a745;
    font-weight: 500;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.savings::before {
    content: '✨';
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 1.5rem;
        padding: 0 1.5rem;
        margin-bottom: 1.5rem;
    }

    .countdown {
        padding: 0.75rem;
        margin: 1rem 0.5rem;
    }

    .session-date {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }

    .countdown-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .countdown-boxes {
        gap: 0.25rem;
    }

    .time-box {
        min-width: 55px;
        padding: 0.5rem 0.25rem;
    }

    .time {
        font-size: 1.5rem;
    }

    .label {
        font-size: 0.8rem;
    }

    /* Adjust hero content spacing */
    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding-bottom: 4rem; /* Ensures CTA is visible above fold */
        padding: 0 0.5rem;
        max-width: 100%;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .modal-content {
        margin: 10% auto;
        width: 90%;
        padding: 1.5rem;
    }

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

}

.success-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.success-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 100%;
    text-align: center;
}

.success-icon {
    margin-bottom: 2rem;
}

.success-message {
    margin: 2rem 0;
}

.success-card h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
    text-align: center;
    transform-origin: center;
    transform: scale(var(--scale, 1));
}

.highlight {
    color: #ff6b6b;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6;
}

.booking-confirmation {
    color: #666;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.next-steps {
    text-align: left;
    margin: 2rem 0;
}

.next-steps h2 {
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.next-steps ol {
    list-style: none;
    padding: 0;
}

.next-steps li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #fff8f3;
    border-radius: 1rem;
    transition: transform 0.2s;
}

.step-content {
    text-align: left;
}

.step-content strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #ff6b6b;
}

.step-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.step-number {
    background: #ff6b6b;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.reminder-box {
    background: #f8f9fa;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 2px dashed #ff6b6b;
}

.reminder-box h3 {
    color: #ff6b6b;
    margin: 0 0 1rem 0;
}

.social-share {
    margin: 2rem 0;
    color: #666;
}

.support-text {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.button {
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.button.primary {
    background: #4CAF50;
    color: white;
}

.button.secondary {
    background: #f8f9fa;
    color: #333;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .success-card {
        padding: 2rem;
        margin: 1rem;
    }

    .next-steps li {
        padding: 1rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }
}

/* Updated Digital Ticket Styles */
.digital-ticket {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    max-width: 400px;
    margin: 2rem auto;
    overflow: hidden;
    position: relative;
}

/* Top Banner */
.ticket-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #ff8e8e 100%);
    color: white;
    padding: 1rem;
    text-align: center;
}

.ticket-banner h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Brand Section */
.ticket-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1rem;
}

.brand-tagline {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
}

/* Main Ticket Content */
.ticket-content {
    padding: 1.5rem;
}

.ticket-primary-info {
    margin-bottom: 1.5rem;
}

.ticket-date-time {
    margin-bottom: 1rem;
}

.info-group {
    margin-bottom: 0.8rem;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.info-value {
    display: block;
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.highlight-time {
    color: var(--primary);
}

.time-divider {
    margin: 0 0.5rem;
    color: #ddd;
}

.booking-ref {
    font-family: monospace;
    letter-spacing: 1px;
    color: var(--primary);
}

/* Divider */
.ticket-divider {
    position: relative;
    height: 1px;
    background: #f0f0f0;
    margin: 2rem 0;
}

.ticket-divider::before,
.ticket-divider::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--background);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.ticket-divider::before {
    left: -34.5px;
}

.ticket-divider::after {
    right: -34.5px;
}

/* QR Code Section */
.ticket-qr {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.ticket-qr img {
    width: 120px;
    height: 120px;
    margin-bottom: 0.5rem;
}

.ticket-validity {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
}

/* Print Styles */
@media print {
    .digital-ticket {
        box-shadow: none;
        border: 1px solid #eee;
    }
}

.other-events {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.other-events h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.event-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-thumbnail {
    width: 100%;
    height: 200px;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.event-card h3 {
    margin-bottom: 1rem;
}

.event-date {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 2rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: var(--primary);
    color: white;
}

.secondary-button svg {
    display: inline-flex;
    vertical-align: middle;
}

.no-events-message {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    color: white;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.no-events-message p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #fff, #f7f9fc);
}

.testimonials .section-title {
    color: var(--primary);  /* Using your brand pink */
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.testimonials .section-subtitle, .highlights .section-subtitle {
    text-align: center;
    color: var(--text);
    font-size: 1.1rem;
    margin: 0 auto 3rem;
    padding: 1rem 2rem;
    max-width: 800px;
    position: relative;
    border-left: 4px solid var(--primary);
    border-right: 4px solid var(--primary);
    background: linear-gradient(to right, rgba(230, 38, 79, 0.1), transparent, rgba(230, 38, 79, 0.1));
}

.testimonials .section-subtitle .highlight-text, .highlights .section-subtitle .highlight-text {
    color: var(--primary);
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 5%;  /* Matching your site's standard padding */
    max-width: 1400px;  /* Prevent cards from getting too wide */
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;  /* Increased padding */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);  /* Enhanced shadow on hover */
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);  /* Using your brand text color */
    margin-bottom: 2rem;  /* Increased spacing */
    font-style: italic;  /* Making quotes look more testimonial-like */
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);  /* Subtle shadow on avatars */
}

.author-details h4 {
    font-size: 1.1rem;
    color: var(--text);
    margin: 0;
    font-weight: 600;
}

.author-details p {
    font-size: 0.9rem;
    color: #718096;
    margin: 0.25rem 0 0 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials .section-title {
        font-size: 2rem;
    }
    
    .testimonials-grid {
        padding: 0 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonials .section-subtitle {
        margin: 0 1rem 3rem;
        padding: 1rem;
    }
}

/* Modern Trust Indicators */
.trust-indicators {
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)),
                url('../img/texture-bg.webp');
    padding: 3rem 5%;
    margin: -3rem auto 3rem;
    border-radius: 20px;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item {
    padding: 2rem;
    position: relative;
}

.trust-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    opacity: 0.2;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.trust-label {
    font-size: 1rem;
    color: var(--text);
    opacity: 0.9;
    max-width: 200px;
    margin: 0 auto;
}

.trust-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .trust-indicators {
        margin: -2rem 1rem 2rem;
        padding: 2rem 1rem;
    }

    .trust-item:not(:last-child)::after {
        display: none;
    }

    .trust-item {
        padding: 1rem;
    }
}

/* Enhanced Newsletter/Ebook Section */
.newsletter-signup {
    background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(255,255,255,0.92)),
                url('../img/texture-bg.webp');
    padding: 6rem 5%;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

/* Add subtle background patterns */
.newsletter-signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(230, 38, 79, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(156, 39, 176, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: center;
    position: relative;
}

/* Enhanced ebook preview */
.lead-magnet-preview {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 350px;
    perspective: 1500px;
}

.lead-magnet-preview img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.12),
        0 5px 15px rgba(0,0,0,0.06);
    transform: 
        perspective(1500px) 
        rotateY(-12deg) 
        rotateX(5deg);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.lead-magnet-preview:hover img {
    transform: 
        perspective(1500px) 
        rotateY(-8deg) 
        rotateX(3deg) 
        translateZ(20px);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.15),
        0 8px 25px rgba(0,0,0,0.08);
}

/* Enhanced free badge */
.free-badge {
    position: absolute;
    top: -15px;
    right: -25px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 
        0 4px 12px rgba(230, 38, 79, 0.3),
        0 2px 4px rgba(0,0,0,0.1);
    z-index: 1;
    white-space: nowrap;
    transform: rotate(5deg);
}

/* Enhanced content section */
.signup-content {
    padding-right: 2rem;
}

.signup-content h2 {
    font-size: 2.8rem;
    color: var(--text);
    margin-bottom: 1.8rem;
    line-height: 1.2;
    font-weight: 700;
}

.signup-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text);
    opacity: 0.9;
}

/* Enhanced feature list */
.guide-features {
    list-style: none;
    margin: 2.5rem 0;
    padding: 0;
}

.guide-features li {
    margin-bottom: 1.2rem;
    padding-left: 2.5rem;
    position: relative;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.guide-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    width: 28px;
    height: 28px;
    background: rgba(230, 38, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    transition: transform 0.2s ease;
}

.guide-features li:hover::before {
    transform: scale(1.1);
    background: rgba(230, 38, 79, 0.15);
}

/* Enhanced form styling */
.signup-form {
    margin-top: 2.5rem;
}

.signup-form input {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.signup-form input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 4px 8px rgba(230, 38, 79, 0.1);
    transform: translateY(-2px);
}

.privacy-note {
    font-size: 0.95rem;
    color: #666;
    margin-top: 1.2rem;
    text-align: center;
    line-height: 1.5;
}

/* Update responsive design */
@media (max-width: 968px) {
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 0 1rem;
    }

    .lead-magnet-preview {
        margin: 0 auto;
    }

    .lead-magnet-preview img {
        transform: perspective(1000px) rotateY(0) rotateX(0);
        max-width: 300px;
    }

    .signup-content {
        padding-right: 0;
    }

    .signup-content h2 {
        font-size: 2.4rem;
    }

    .guide-features {
        max-width: 500px;
        margin: 2rem auto;
    }

    .guide-features li {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .newsletter-signup {
        padding: 4rem 1rem;
    }

    .signup-content h2 {
        font-size: 2rem;
    }

    .lead-magnet-preview {
        max-width: 260px;
    }

    .free-badge {
        padding: 0.5rem 1.4rem;
        font-size: 0.9rem;
        right: -15px;
    }
}

.event-card a {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.event-card a:hover {
    opacity: 0.9;
}

.event-thumbnail {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.event-card a:hover .event-thumbnail {
    transform: scale(1.02);
}

