/* Global Styles */
:root {
    --primary-purple: #4a1d9b; /* Darker Purple variant */
    --light-purple-bg: #300099; /* Header/Footer background */
    --cta-gold: #d4af37; /* Button Gold */
    --cta-gold-darker: #b89b30; /* Button Gold Hover */
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-grey: #555555;
    --bg-light-grey: #f4f4f9;
    --bg-white: #ffffff;
    --highlight-purple-text: #300099;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem; /* Adjusted size */
    font-weight: 700;
    color: var(--text-light); /* White in hero */
    text-align: center;
    margin-bottom: 0.8rem;
	line-height: 1.3em;
}

h2 {
    font-size: 2rem; /* Adjusted size */
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem; /* Adjusted size */
    font-weight: 700;
    color: var(--text-dark); /* Darker for subtitles */
}

p {
    margin-bottom: 1rem;
    color: var(--text-grey);
}

a {
    color: var(--primary-purple);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevents extra space below images */
}

form { margin-top: 0px!important; }

input { font-size: 1.4em!important; }

button { width: 100%!important; font-size:1.5em!important;font-weight:700!important; }

._form-title { margin-bottom:1em!important;line-height:1.3em!important; }

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

.highlight-purple {
    color: var(--highlight-purple-text);
    font-weight: bold;
}

/* --- Hero Section --- */
.hero-section {  
    background-image: url('/webinar/eventbg.webp'); /* Placeholder, replace with actual Bonnington Hotel BG */
    background-size: cover;
    background-position: center center;
    background-blend-mode: multiply; /* To blend color */
    color: var(--text-light);
    padding: 60px 0;
    position: relative;
}

.hero-section::before { /* Overlay for readability */
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0; 
    z-index: 1;
}

.hero-section .container {
    position: relative; /* To bring content above overlay */
    z-index: 2;
}


.hero-section .subtitle {
    color: var(--text-light);
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.hero-content {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px;
    align-items: flex-start; /* Align items to the top */
    margin-top: 30px;
}

.hero-left, .hero-right {
    flex: 1;
    min-width: 300px; /* Minimum width before wrapping */
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9; /* Maintain video aspect ratio */
    background-color: #000; /* Placeholder background */
    margin-bottom: 20px;
    overflow: hidden; /* Ensures iframe fits */
    border: 2px solid var(--cta-gold);
    border-radius: 5px;
}

.video-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.cta-button {
    display: inline-block;
    background-color: var(--cta-gold);
    color: var(--primary-purple);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    margin-top: 10px; /* Spacing */
}

.cta-button:hover {
    background-color: var(--cta-gold-darker);
    text-decoration: none;
}

.hero-right h2 {
    color: var(--text-light);
    font-size: 1.4rem; /* Slightly smaller than main headings */
    margin-bottom: 15px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start; /* Align icon with top of text */
    margin-bottom: 15px;
    color: var(--text-light);
}

.benefits-list img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0; /* Prevent icon from shrinking */
    margin-top: 4px; /* Align better with text */
}

.benefits-list p {
    margin: 0;
    color: var(--text-light);
}

.benefits-list strong {

}

/* --- About Event Section --- */
.about-section { 
    background-color: var(--bg-white);
}

 

.about-section h2 {
    color: var(--text-dark);
    text-align: center;
}
.about-section h3 {
    color: var(--highlight-purple-text);
    font-weight: bold;
    text-align: center;
    font-size: 1.3rem;
}

.about-section .location {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}
.about-text {
    text-align: left;
    margin-bottom: 30px;
}
.about-text p {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.media-list {
     text-align: left;
     max-width: 400px; /* Adjust as needed */
     margin: 20px auto 0 auto; /* Center the list block */
     padding-left: 20px; /* Indent list */
}
.media-list li {
     margin-bottom: 8px;
     display: flex;
     align-items: center;
     color: var(--text-dark);
}
.media-list .bullet {
    color: var(--highlight-purple-text);
    font-size: 1.2em; /* Make bullet slightly larger */
    margin-right: 10px;
    line-height: 1; /* Adjust vertical alignment */
}


/* --- Learn Section --- */
.learn-section {
    padding: 60px 0;
    background-color: var(--bg-light-grey);
}

.learn-section h2 {
    color: var(--text-dark);
}

.learn-list {
    margin-top: 30px;
}

.learn-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.learn-list img {
    width: 30px; /* Slightly larger icon */
    height: 30px;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 2px; /* Align icon */
}

.learn-list p {
    margin: 0;
    color: var(--text-dark);
}
.learn-list strong {
    color: var(--primary-purple);
    font-weight: 700;
}

.free-book-offer {
    font-size: 1.1rem;
    margin-top: 40px;
    margin-bottom: 30px;
    padding: 0 20px; /* Add padding if text is long */
    color: var(--text-dark);
}

.cta-button-alt {
    display: inline-flex; /* Use flex for better control */
    flex-direction: column; /* Stack text */
    align-items: center; /* Center content horizontally */
    background-color: var(--primary-purple);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    min-width: 250px;
}

.cta-button-alt:hover {
    background-color: var(--highlight-purple-text); /* Slightly lighter purple */
    text-decoration: none;
}

.cta-button-alt span {
    font-weight: 700;
    font-size: 1.3rem; /* Main text size */
    margin-bottom: 2px; /* Space between lines */
    display: flex;
    align-items: center;
}
.cta-button-alt span i {
    margin-right: 8px; /* Space icon from text */
    font-size: 1.2em; /* Make icon slightly larger */
}

.cta-button-alt small {
    font-size: 0.9rem; /* Smaller subtext */
    font-weight: 400;
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.testimonials-section h2 {
     color: var(--text-dark);
     max-width: 800px;
     margin-left: auto;
     margin-right: auto;
}


.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--bg-white);
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.testimonial-card img {
    width: 80px; /* Size of the round image */
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px auto; /* Center image */
    object-fit: cover;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-grey);
    margin-bottom: 15px;
}

.testimonial-card .testimonial-name {
    font-style: normal;
    font-weight: 700;
    color: var(--highlight-purple-text);
    margin-bottom: 0;
}

/* --- Meet Laurence Section --- */
.meet-section {
    padding: 60px 0;
    background-color: var(--bg-light-grey);
}

.meet-section h2 {
    color: var(--text-dark);
}

.meet-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center; /* Vertically center content */
    margin-top: 30px;
    margin-bottom: 40px;
}

.meet-text, .meet-image {
    flex: 1;
    min-width: 300px;
}
.meet-text p {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.meet-image img {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- Footer Section --- */
.footer-section {
    background-image: url('/webinar/eventbg.webp');
    background-size: cover;
    background-position: center center;
    background-blend-mode: multiply;
    background-color: var(--light-purple-bg);
    color: var(--text-light);
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer-section .social-icon {
    font-size: 2.5rem; /* Icon size */
    color: var(--text-light);
    margin-bottom: 15px;
    display: inline-block; /* Needed for margin */
}
.footer-section .social-icon:hover {
    color: var(--cta-gold); /* Hover effect */
    text-decoration: none;
}

.footer-section .copyright {
    color: #ccc; /* Lighter grey for less emphasis */
    margin-bottom: 15px;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.footer-nav a {
    color: var(--text-light);
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--cta-gold);
    text-decoration: underline;
}

/* --- Popup Styles --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 29, 58, 0.8); /* Dark semi-transparent overlay */
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Hidden by default */
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    overflow-y: auto; /* Allow scroll if content is tall */
    padding: 20px; /* Padding around popup */
}

.popup-overlay:target { /* Show when URL hash matches ID */
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

.popup-content {
    background-color: var(--bg-white);
    padding: 30px 40px; /* More padding */
    border-radius: 8px;
    position: relative;
    max-width: 710px; /* Match original width */
    width: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-align: center;
}

.popup-close {
    position: absolute;
    top: 10px; /* Adjust position */
    right: 15px;
    font-size: 2rem;
    color: #aaa;
    text-decoration: none;
    line-height: 1;
}
.popup-close:hover {
    color: var(--text-dark);
}

.popup-content h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-purple);
}
.popup-content p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.popup-form-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    text-align: left;
}
.popup-image {
    flex: 1;
    min-width: 150px; /* Min width for image column */
    max-width: 200px; /* Max width */
    margin: 0 auto; /* Center if it wraps */
}
.popup-image img {
    border: 1px solid #eee;
}

.popup-form {
    flex: 2; /* Form takes more space */
    min-width: 250px; /* Min width for form */
}


.popup-form input[type="text"],
.popup-form input[type="email"],
.popup-form input[type="tel"] {
    display: block;
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box; /* Include padding in width */
}

.cta-button-form {
    display: block; /* Make button full width */
    width: 100%;
    background-color: var(--cta-gold);
    color: var(--primary-purple);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}
.cta-button-form:hover {
     background-color: var(--cta-gold-darker);
}


/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }

    .hero-content {
        flex-direction: column; /* Stack columns */
        align-items: center; /* Center items when stacked */
    }
    .hero-left, .hero-right {
        width: 100%; /* Full width when stacked */
        text-align: center; /* Center text */
    }
    .benefits-list {
        text-align: left; /* Keep list text left-aligned */
    }
    .cta-button {
        width: 80%;
        max-width: 300px;
    }

    .meet-content {
         flex-direction: column;
    }
    .meet-image {
        order: -1; /* Move image above text on mobile */
        margin-bottom: 20px;
    }

     .popup-form-layout {
        flex-direction: column;
        text-align: center;
     }
     .popup-image {
        max-width: 150px; /* Smaller book on mobile */
        margin-bottom: 15px;
     }
     .popup-form {
        width: 100%;
     }

    .footer-nav {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
     .footer-nav a {
        margin: 0;
     }
     .footer-nav span { /* Hide separators */
        display: none;
     }
}

@media (max-width: 480px) {
     h1 { font-size: 1.5rem; line-height:1.2em }
     h2 { font-size: 1.3rem; line-height:1.2em }
	 p { line-height: 1.3em; }
     .container { padding: 0 15px; }
     .cta-button, .cta-button-alt, .cta-button-form { font-size: 1.0rem; padding: 12px 25px; }
     .popup-content { padding: 20px; }
}